From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScfUc-0000A0-Hg for qemu-devel@nongnu.org; Thu, 07 Jun 2012 12:23:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScfUa-0007BC-KA for qemu-devel@nongnu.org; Thu, 07 Jun 2012 12:23:26 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 7 Jun 2012 18:23:03 +0200 Message-Id: <1339086183-1356-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] make_device_config.sh: Fix target path in generated dependency file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerhard Wiesinger , qemu-stable@nongnu.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= config-devices.mak.d is included from Makefile.target, i.e. from inside the *-softmmu/ directory. It included the directory path, so never applied to the actual config-devices.mak. Symptoms were spurious dependency issues with default-configs/pci.mak. Fix by using `basename` to strip the directory path. Reported-by: Gerhard Wiesinger Signed-off-by: Andreas F=C3=A4rber --- Seems I forgot to send this out before 1.1... scripts/make_device_config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/make_device_config.sh b/scripts/make_device_config.s= h index 5d14885..0778fe2 100644 --- a/scripts/make_device_config.sh +++ b/scripts/make_device_config.sh @@ -25,4 +25,4 @@ done process_includes $src > $dest =20 cat $src $all_includes | grep -v '^include' > $dest -echo "$1: $all_includes" > $dep +echo "`basename $1`: $all_includes" > $dep --=20 1.7.7