Received: from eggs.gnu.org ([140.186.70.92]:53673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qyo1p-00005G-7i for qemu-devel@nongnu.org; Wed, 31 Aug 2011 12:52:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qyo1o-0000Wl-93 for qemu-devel@nongnu.org; Wed, 31 Aug 2011 12:52:41 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:46679) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qyo1n-0000WQ-Rr for qemu-devel@nongnu.org; Wed, 31 Aug 2011 12:52:40 -0400 From: =?utf-8?b?TGx1w61z?= Date: Wed, 31 Aug 2011 18:52:14 +0200 Message-ID: <20110831165214.4389.21629.stgit@ginnungagap.bsc.es> In-Reply-To: <20110831165206.4389.17250.stgit@ginnungagap.bsc.es> References: <20110831165206.4389.17250.stgit@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v8 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 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