[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-devel] [PATCH RESEND for-1.4] make_device_config
From: |
Blue Swirl |
Subject: |
Re: [Qemu-stable] [Qemu-devel] [PATCH RESEND for-1.4] make_device_config.sh: Fix target path in generated dependency file |
Date: |
Sat, 26 Jan 2013 15:08:13 +0000 |
Thanks, applied.
On Thu, Jan 24, 2013 at 3:47 PM, Andreas Färber <address@hidden> wrote:
> 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
> build failures due to missing dependency on default-configs/pci.mak.
>
> Fix this by using `basename` to strip the directory path.
>
> Reported-by: Gerhard Wiesinger <address@hidden>
> Cc: address@hidden
> Signed-off-by: Andreas Färber <address@hidden>
> ---
> scripts/make_device_config.sh | 2 +-
> 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
>
> diff --git a/scripts/make_device_config.sh b/scripts/make_device_config.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
>
> cat $src $all_includes | grep -v '^include' > $dest
> -echo "$1: $all_includes" > $dep
> +echo "`basename $1`: $all_includes" > $dep
> --
> 1.7.10.4
>
>