[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 16/18] configure: do not create roms/seabios/config.mak if SeaBIOS
|
From: |
Paolo Bonzini |
|
Subject: |
[PULL 16/18] configure: do not create roms/seabios/config.mak if SeaBIOS not present |
|
Date: |
Mon, 10 Jan 2022 15:40:32 +0100 |
If roms/seabios/Makefile is not present, the configure script
is not creating the roms/seabios directory anymore (commit
5dce7b8d8c, "configure: remove DIRS", 2021-12-18); thus, creating
roms/seabios/config.mak fails.
The easiest thing to do is to not create the file, since it will not
be used.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 0026388343..e1a31fb332 100755
--- a/configure
+++ b/configure
@@ -3704,7 +3704,8 @@ export target_list source_path use_containers cpu
$source_path/tests/tcg/configure.sh)
# temporary config to build submodules
-for rom in seabios; do
+if test -f $source_path/roms/seabios/Makefile; then
+ for rom in seabios; do
config_mak=roms/$rom/config.mak
echo "# Automatically generated by configure - do not modify" > $config_mak
echo "SRC_PATH=$source_path/roms/$rom" >> $config_mak
@@ -3717,7 +3718,8 @@ for rom in seabios; do
echo "IASL=$iasl" >> $config_mak
echo "LD=$ld" >> $config_mak
echo "RANLIB=$ranlib" >> $config_mak
-done
+ done
+fi
config_mak=pc-bios/optionrom/config.mak
echo "# Automatically generated by configure - do not modify" > $config_mak
--
2.33.1
- [PULL 05/18] configure: simplify creation of plugin symbol list, (continued)
- [PULL 05/18] configure: simplify creation of plugin symbol list, Paolo Bonzini, 2022/01/10
- [PULL 06/18] configure: do not set bsd_user/linux_user early, Paolo Bonzini, 2022/01/10
- [PULL 09/18] configure: move non-command-line variables away from command-line parsing section, Paolo Bonzini, 2022/01/10
- [PULL 08/18] configure: parse --enable/--disable-strip automatically, flip default, Paolo Bonzini, 2022/01/10
- [PULL 10/18] meson: build contrib/ executables after generated headers, Paolo Bonzini, 2022/01/10
- [PULL 11/18] configure, meson: move config-poison.h to meson, Paolo Bonzini, 2022/01/10
- [PULL 12/18] meson: add comments in the target-specific flags section, Paolo Bonzini, 2022/01/10
- [PULL 13/18] KVM: use KVM_{GET|SET}_SREGS2 when supported., Paolo Bonzini, 2022/01/10
- [PULL 14/18] KVM: x86: ignore interrupt_bitmap field of KVM_GET/SET_SREGS, Paolo Bonzini, 2022/01/10
- [PULL 15/18] tests/tcg: Fix target-specific Makefile variables path for user-mode, Paolo Bonzini, 2022/01/10
- [PULL 16/18] configure: do not create roms/seabios/config.mak if SeaBIOS not present,
Paolo Bonzini <=
- [PULL 17/18] meson: build all modules by default, Paolo Bonzini, 2022/01/10
- [PULL 18/18] meson: reenable filemonitor-inotify compilation, Paolo Bonzini, 2022/01/10
- Re: [PULL v4 00/18] Build system and KVM changes for 2021-12-23, Peter Maydell, 2022/01/11