summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBlue Swirl2009-09-27 16:35:44 +0200
committerBlue Swirl2009-09-27 16:35:44 +0200
commitb461cdc9b3a30ec43ef3bda1752b902b209abe27 (patch)
treebccb2d0c264b09cddfad0442661b527b39711301 /configure
parentFix user emulator breakage (diff)
downloadqemu-b461cdc9b3a30ec43ef3bda1752b902b209abe27.tar.gz
qemu-b461cdc9b3a30ec43ef3bda1752b902b209abe27.tar.xz
qemu-b461cdc9b3a30ec43ef3bda1752b902b209abe27.zip
Don't compile roms if not building system targets
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 62dccd2678..8ac8b4dce5 100755
--- 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