2019-05-29 19:48:52 +02:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Tue, 28 May 2019 14:23:37 -0600
|
|
|
|
Subject: configure: only populate roms if softmmu
|
|
|
|
|
|
|
|
Currently roms are mistakenly getting built in a linux-user only
|
|
|
|
configuration. Add check for softmmu in all places where our list of
|
|
|
|
roms is being added to.
|
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
|
|
---
|
2019-11-27 13:46:32 +01:00
|
|
|
configure | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2019-05-29 19:48:52 +02:00
|
|
|
|
|
|
|
diff --git a/configure b/configure
|
2021-01-05 18:40:44 +01:00
|
|
|
index 7ce723bbe769dac2af8456079e89..a1312935a5683ed740c9b6143c6b 100755
|
2019-05-29 19:48:52 +02:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2021-01-05 18:40:44 +01:00
|
|
|
@@ -5858,7 +5858,7 @@ if { test "$cpu" = "i386" || test "$cpu" = "x86_64"; } && \
|
2019-05-29 19:48:52 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
# Only build s390-ccw bios if we're on s390x and the compiler has -march=z900
|
|
|
|
-if test "$cpu" = "s390x" ; then
|
|
|
|
+if test "$cpu" = "s390x" && test "$softmmu" = yes ; then
|
|
|
|
write_c_skeleton
|
|
|
|
if compile_prog "-march=z900" ""; then
|
|
|
|
roms="$roms s390-ccw"
|