From patchwork Wed Aug 31 16:52:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?Q?Llu=C3=ADs?= X-Patchwork-Id: 112614 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CB605B6F80 for ; Thu, 1 Sep 2011 02:52:54 +1000 (EST) Received: from localhost ([::1]:40084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qyo1y-0000HB-0H for incoming@patchwork.ozlabs.org; Wed, 31 Aug 2011 12:52:50 -0400 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 Received: (qmail invoked by alias); 31 Aug 2011 16:52:38 -0000 Received: from unknown (EHLO localhost) [84.88.53.92] by mail.gmx.net (mp054) with SMTP; 31 Aug 2011 18:52:38 +0200 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX1/GdbcQLQXGmZZHho1iXfveeW55vmJuGsfziwvw68 fRgTqJ2MumfPaI To: qemu-devel@nongnu.org, chouteau@adacore.com 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> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.22 Cc: stefanha@gmail.com Subject: [Qemu-devel] [PATCH v8 01/14] build: Fix linkage of QEMU_PROG X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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