Don't compile roms if not building system targets
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 27 Sep 2009 14:35:44 +0000 (14:35 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 27 Sep 2009 14:35:44 +0000 (14:35 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure

index 62dccd2..8ac8b4d 100755 (executable)
--- a/configure
+++ b/configure
@@ -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