[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/5] configure: check for SLOF submodule before building pc-bios/
|
From: |
Paolo Bonzini |
|
Subject: |
[PATCH 4/5] configure: check for SLOF submodule before building pc-bios/s390-ccw |
|
Date: |
Sat, 27 May 2023 11:28:50 +0200 |
SLOF is required for building the s390-ccw firmware on s390x,
since it is using the libnet code from SLOF for network booting.
If SLOF is absent and submodules are not updated, pc-bios/s390-ccw
cannot be built.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 1d1b8736c0eb..c92a3b30b9a4 100755
--- a/configure
+++ b/configure
@@ -1662,7 +1662,8 @@ fi
# Only build s390-ccw bios if the compiler has -march=z900 or -march=z10
# (which is the lowest architecture level that Clang supports)
-if have_target s390x-softmmu && probe_target_compiler s390x-softmmu; then
+if have_target s390x-softmmu && probe_target_compiler s390x-softmmu && \
+ ( test "$git_submodules_action" != ignore || test -f roms/SLOF/VERSION );
then
write_c_skeleton
do_compiler "$target_cc" $target_cc_cflags -march=z900 -o $TMPO -c $TMPC
has_z900=$?
--
2.40.1
[PATCH 5/5] meson: subprojects: replace berkeley-{soft, test}float-3 with wraps, Paolo Bonzini, 2023/05/27
[PATCH 3/5] meson: subprojects: replace submodules with wrap files, Paolo Bonzini, 2023/05/27
Re: [PATCH 0/5] meson: replace submodules with wrap files, Thomas Huth, 2023/05/30