From 9400257639bfe0bc7dd897eb71c912ef8a39f675 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Mon, 20 Aug 2018 02:38:58 +0000 Subject: [PATCH] qemu: tighten up CONFIGURE_ARGS spec This is more for readability, no functional change Signed-off-by: Yousong Zhou --- utils/qemu/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/utils/qemu/Makefile b/utils/qemu/Makefile index dd1bc8d20..1a540b25f 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