From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QypYw-0002fh-64 for qemu-devel@nongnu.org; Wed, 31 Aug 2011 14:30:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QypYv-0001yE-0G for qemu-devel@nongnu.org; Wed, 31 Aug 2011 14:30:58 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:43775) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QypYu-0001y0-HY for qemu-devel@nongnu.org; Wed, 31 Aug 2011 14:30:56 -0400 From: =?utf-8?b?TGx1w61z?= Date: Wed, 31 Aug 2011 20:30:30 +0200 Message-ID: <20110831183030.849.68669.stgit@ginnungagap.bsc.es> In-Reply-To: <20110831183023.849.39499.stgit@ginnungagap.bsc.es> References: <20110831183023.849.39499.stgit@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v9 01/14] build: Fix linkage of QEMU_PROG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, chouteau@adacore.com Cc: stefanha@gmail.com 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 07af4d4..62ddfc9 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