Browse files Fix target path in generated dependency file

config-devices.mak.d is included from, 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 <>
Signed-off-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>
  • Loading branch information...
1 parent 9f8863e commit 23bf49b5eca716aaad073f2b47613434e1515cb5 @afaerber committed with blueswirl Jan 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/
@@ -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.