aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluís <xscript@gmx.net>2011-08-31 20:30:30 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-09-01 10:34:53 +0100
commite03b41d47708744669aaa51e781021c3dc380198 (patch)
tree8df4354c3c950a56e1c0012e7a53d191c79b6269
parentbdc76462aca464f11286ddcf6d5b748b4547267e (diff)
build: Fix linkage of QEMU_PROG
Using '$^' to establish the files to link with will remove any repeated entries in the list of dependencies. Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
-rw-r--r--Makefile.target2
1 files changed, 1 insertions, 1 deletions
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