make_device_config.sh: Emit dependency file to directory where included

Placing the config-devices.mak.d file alongside the config-devices.mak
file in *-softmmu/ lead to it getting included into through
*-softmmu/Makefile in addition to ./Makefile, leading to confusion.

Instead, emit it to ./%-config-devices.mak.d, where it is included.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Andreas Färber 2013-02-21 16:26:46 +01:00 committed by Blue Swirl
parent 1b3048170a
commit 8807080133
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# files from include directives.
dest=$1.tmp
dep=$1.d
dep=`dirname $1`-`basename $1`.d
src=$2
src_dir=`dirname $src`
all_includes=