Don't compile roms if not building system targets

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-09-27 14:35:44 +00:00
parent 05d00df4e1
commit b461cdc9b3

3
configure vendored
View File

@ -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