From e03b41d47708744669aaa51e781021c3dc380198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs?= Date: Wed, 31 Aug 2011 20:30:30 +0200 Subject: build: Fix linkage of QEMU_PROG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index 07af4d47c7..62ddfc9b67 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 -- cgit v1.2.1