Commit 23bf49b5 authored by Andreas Färber's avatar Andreas Färber Committed by Blue Swirl
Browse files

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: default avatarGerhard Wiesinger <lists@wiesinger.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 9f8863eb
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment