mirror of https://gitee.com/openkylin/qemu.git
Don't compile roms if not building system targets
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
05d00df4e1
commit
b461cdc9b3
|
@ -1982,7 +1982,8 @@ echo "TOOLS=$tools" >> $config_host_mak
|
|||
# Mac OS X ships with a broken assembler
|
||||
roms=
|
||||
if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) -a \
|
||||
"$targetos" != "Darwin" ; then
|
||||
"$targetos" != "Darwin" -a \
|
||||
`expr "$target_list" : ".*softmmu.*"` != 0 ; then
|
||||
roms="optionrom"
|
||||
fi
|
||||
echo "ROMS=$roms" >> $config_host_mak
|
||||
|
|
Loading…
Reference in New Issue