From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS1ol-0006vq-LH for qemu-devel@nongnu.org; Sat, 27 Oct 2012 04:32:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TS1ok-0008KP-CN for qemu-devel@nongnu.org; Sat, 27 Oct 2012 04:32:31 -0400 Message-ID: <508B9C1C.2090702@msgid.tls.msk.ru> Date: Sat, 27 Oct 2012 12:32:28 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1339086183-1356-1-git-send-email-afaerber@suse.de> <5058693B.9020103@msgid.tls.msk.ru> <505885F1.7000406@suse.de> In-Reply-To: <505885F1.7000406@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-stable] [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 , Paolo Bonzini , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Anthony Liguori , qemu-stable@nongnu.org Ping? /mjt On 18.09.2012 18:32, Andreas F=C3=A4rber wrote: > Am 18.09.2012 14:29, schrieb Michael Tokarev: >> Has it been applied to anything? I don't think so. >> Is it still needed? >=20 > Not in qemu.git yet, still applicable AFAICT. CC'ing Paolo. >=20 > /-F >=20 >> >> Thanks, >> >> /mjt >> >> On 07.06.2012 20:23, Andreas F=C3=A4rber wrote: >>> config-devices.mak.d is included from Makefile.target, i.e. from insi= de >>> 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_conf= ig.sh >>> 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 >=20