@ -60,8 +60,8 @@ seems to have been used for an in-tree build. You can fix this by running \
e n d i f
e n d i f
CONFIG_SOFTMMU := $( if $( filter %-softmmu,$( TARGET_LIST ) ) ,y)
CONFIG_USER_ONLY := $( if $( filter %-user,$( TARGET_LIST ) ) ,y)
CONFIG_SOFTMMU := $( if $( filter %-softmmu,$( TARGET_DIRS ) ) ,y)
CONFIG_USER_ONLY := $( if $( filter %-user,$( TARGET_DIRS ) ) ,y)
CONFIG_XEN := $( CONFIG_XEN_BACKEND)
CONFIG_ALL = y
- i n c l u d e c o n f i g - a l l - d e v i c e s . m a k
@ -365,8 +365,8 @@ DOCS=
e n d i f
SUBDIR_MAKEFLAGS = $( if $( V) ,,--no-print-directory --quiet) BUILD_DIR = $( BUILD_DIR)
SUBDIR_DEVICES_MAK = $( patsubst %, %/config-devices.mak, $( TARGET_LIST ) )
SUBDIR_DEVICES_MAK_DEP = $( patsubst %, %-config-devices.mak.d, $( TARGET_LIST ) )
SUBDIR_DEVICES_MAK = $( patsubst %, %/config-devices.mak, $( TARGET_DIRS ) )
SUBDIR_DEVICES_MAK_DEP = $( patsubst %, %-config-devices.mak.d, $( TARGET_DIRS ) )
i f e q ( $( SUBDIR_DEVICES_MAK ) , )
config-all-devices.mak :
@ -469,7 +469,7 @@ config-host.h-timestamp: config-host.mak
qemu-options.def : $( SRC_PATH ) /qemu -options .hx $( SRC_PATH ) /scripts /hxtool
$( call quiet-command,sh $( SRC_PATH) /scripts/hxtool -h < $< > $@ ,"GEN" ," $@ " )
SUBDIR_RULES = $( patsubst %,subdir-%, $( TARGET_LIST ) )
SUBDIR_RULES = $( patsubst %,subdir-%, $( TARGET_DIRS ) )
SOFTMMU_SUBDIR_RULES = $( filter %-softmmu,$( SUBDIR_RULES) )
$(SOFTMMU_SUBDIR_RULES) : $( block -obj -y )
@ -513,7 +513,7 @@ ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS))
romsubdir-% :
$( call quiet-command,$( MAKE) $( SUBDIR_MAKEFLAGS) -C pc-bios/$* V = " $( V) " TARGET_DIR = " $* / " CFLAGS = " $( filter -O% -g%,$( CFLAGS) ) " ,)
ALL_SUBDIRS = $( TARGET_LIST ) $( patsubst %,pc-bios/%, $( ROMS) )
ALL_SUBDIRS = $( TARGET_DIRS ) $( patsubst %,pc-bios/%, $( ROMS) )
recurse-all : $( SUBDIR_RULES ) $( ROMSUBDIR_RULES )
@ -770,7 +770,7 @@ distclean: clean
rm -f docs/interop/qemu-qmp-ref.pdf docs/interop/qemu-ga-ref.pdf
rm -f docs/interop/qemu-qmp-ref.html docs/interop/qemu-ga-ref.html
rm -f docs/qemu-block-drivers.7
for d in $( TARGET_LIST ) ; do \
for d in $( TARGET_DIRS ) ; do \
rm -rf $$ d || exit 1 ; \
done
rm -Rf .sdk
@ -871,7 +871,7 @@ endif
$( INSTALL_DATA) $( SRC_PATH) /pc-bios/keymaps/$$ x " $( DESTDIR) $( qemu_datadir) /keymaps " ; \
done
$( INSTALL_DATA) $( BUILD_DIR) /trace-events-all " $( DESTDIR) $( qemu_datadir) /trace-events-all "
for d in $( TARGET_LIST ) ; do \
for d in $( TARGET_DIRS ) ; do \
$( MAKE) $( SUBDIR_MAKEFLAGS) TARGET_DIR = $$ d/ -C $$ d $@ || exit 1 ; \
done
@ -1066,9 +1066,9 @@ endif
@echo ' ctags/TAGS - Generate tags file for editors'
@echo ' cscope - Generate cscope index'
@echo ''
@$( if $( TARGET_LIST ) , \
@$( if $( TARGET_DIRS ) , \
echo 'Architecture specific targets:' ; \
$( foreach t, $( TARGET_LIST ) , \
$( foreach t, $( TARGET_DIRS ) , \
printf " %-30s - Build for %s\\n" $( patsubst %,subdir-%,$( t) ) $( t) ; ) \
echo '' )
@echo 'Cleaning targets:'