From patchwork Wed Aug 31 16:52:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [v8,01/14] build: Fix linkage of QEMU_PROG From: =?utf-8?Q?Llu=C3=ADs?= X-Patchwork-Id: 112614 Message-Id: <20110831165214.4389.21629.stgit@ginnungagap.bsc.es> To: qemu-devel@nongnu.org, chouteau@adacore.com Cc: stefanha@gmail.com Date: Wed, 31 Aug 2011 18:52:14 +0200 Using '$^' to establish the files to link with will remove any repeated entries in the list of dependencies. Signed-off-by: LluĂ­s Vilanova --- Makefile.target | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.target b/Makefile.target index 70fa1ae..d3ac8c5 100644 --- a/Makefile.target +++ b/Makefile.target @@ -398,7 +398,7 @@ obj-y += $(addprefix ../, $(trace-obj-y)) obj-$(CONFIG_GDBSTUB_XML) += gdbstub-xml.o $(QEMU_PROG): $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y) - $(call LINK,$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y)) + $(call LINK,$^) gdbstub-xml.c: $(TARGET_XML_FILES) $(SRC_PATH)/scripts/feature_to_c.sh