diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-27 14:35:44 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-27 14:35:44 +0000 |
commit | b461cdc9b3a30ec43ef3bda1752b902b209abe27 (patch) | |
tree | bccb2d0c264b09cddfad0442661b527b39711301 | |
parent | 05d00df4e19fb67d36749bf5420cceba5b0b51d0 (diff) |
Don't compile roms if not building system targets
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |