Skip to content

Commit

Permalink
make_device_config.sh: Fix target path in generated dependency file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
afaerber authored and blueswirl committed Jan 26, 2013
1 parent 9f8863e commit 23bf49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make_device_config.sh
Expand Up @@ -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

0 comments on commit 23bf49b

Please sign in to comment.