From: Yousong Zhou Date: Mon, 20 Aug 2018 02:38:58 +0000 (+0000) Subject: qemu: tighten up CONFIGURE_ARGS spec X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9400257639bfe0bc7dd897eb71c912ef8a39f675;p=feed%2Fpackages.git qemu: tighten up CONFIGURE_ARGS spec This is more for readability, no functional change Signed-off-by: Yousong Zhou --- diff --git a/utils/qemu/Makefile b/utils/qemu/Makefile index dd1bc8d207..1a540b25f9 100644 --- a/utils/qemu/Makefile +++ b/utils/qemu/Makefile @@ -256,12 +256,8 @@ CONFIGURE_ARGS += \ --disable-strip \ --disable-werror \ -QEMU_CONFIGURE_TARGET_LIST := $(foreach target,$(QEMU_TARGET_LIST),$(if $(CONFIG_PACKAGE_qemu-$(target)),$(target))) -CONFIGURE_ARGS += --target-list='$(QEMU_CONFIGURE_TARGET_LIST)' - -ifneq ($(CONFIG_PACKAGE_qemu-ga),) -CONFIGURE_ARGS += --enable-guest-agent -endif +CONFIGURE_ARGS += --target-list='$(foreach target,$(QEMU_TARGET_LIST),$(if $(CONFIG_PACKAGE_qemu-$(target)),$(target)))' +CONFIGURE_ARGS += $(if $(CONFIG_PACKAGE_qemu-ga),--enable-guest-agent) TARGET_LDFLAGS += -Wl,--as-needed MAKE_VARS += V=s