diff options
| author | Andreas Färber | 2013-01-24 16:47:55 +0100 |
|---|---|---|
| committer | Blue Swirl | 2013-01-26 14:26:29 +0100 |
| commit | 23bf49b5eca716aaad073f2b47613434e1515cb5 (patch) | |
| tree | a610250cbc08c4c8642747ebbd02ee79fc23182d /scripts | |
| parent | fw_cfg: Drop a few superfluous initializers (diff) | |
| download | qemu-23bf49b5eca716aaad073f2b47613434e1515cb5.tar.gz qemu-23bf49b5eca716aaad073f2b47613434e1515cb5.tar.xz qemu-23bf49b5eca716aaad073f2b47613434e1515cb5.zip | |
make_device_config.sh: Fix target path in generated dependency file
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 <lists@wiesinger.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | 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.sh index 5d14885dfc..0778fe2a42 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 |
