diff options
author | Lluís <xscript@gmx.net> | 2011-08-31 20:30:30 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-09-01 10:34:53 +0100 |
commit | e03b41d47708744669aaa51e781021c3dc380198 (patch) | |
tree | 8df4354c3c950a56e1c0012e7a53d191c79b6269 | |
parent | bdc76462aca464f11286ddcf6d5b748b4547267e (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.target | 2 |
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 |