qemu: tighten up CONFIGURE_ARGS spec
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 20 Aug 2018 02:38:58 +0000 (02:38 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 20 Aug 2018 02:43:56 +0000 (02:43 +0000)
This is more for readability, no functional change

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
utils/qemu/Makefile

index dd1bc8d20725723ba8e2defa15fac315f468693e..1a540b25f9607928feee4497ddb477ca773183f8 100644 (file)
@@ -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