tools/configure: make iPXE dependent on QEMU traditional
PATCH 1/1 tools/configure: make iPXE dependent on QEMU traditional
iPXE is only used by QEMU traditional, so make it off by default unless QEMU traditional is enabled.
---
Cc: Ian Jackson <[email protected]>
Please run autoconf before commit.
Without this patch FreeBSD build is broken, as iPXE won't build. The main risk would be getting the configure script runes wrong, but I think that's fairly easy to check as it will either work on not. It's a change in the defaults, but it basically restores the behavior previous to disabling qemu-trad on Linux.
--- tools/configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
tools/configure.ac +7 -7
@@ -130,13 +130,13 @@ AC_SUBST(qemu_traditional) AC_ARG_ENABLE([ipxe], AS_HELP_STRING([--enable-ipxe], - [Enable in-tree IPXE, (DEFAULT is on for x86, - otherwise off, see also --with-system-ipxe)]),,[ - case "$host_cpu" in - i[[3456]]86|x86_64) - enable_ipxe="yes";; - *) enable_ipxe="no";; - esac + [Enable in-tree IPXE, + (DEFAULT is off, see also --with-system-ipxe)]),,[ + AS_IF([test "x$enable_qemu_traditional" = "xyes"], [ + enable_ipxe="yes" + ], [ + enable_ipxe="no" + ]) ]) AS_IF([test "x$enable_ipxe" = "xno"], [ipxe=n], [ipxe=y]) AC_ARG_WITH([system-ipxe],
Signature · 1 line
2.33.0
PATCH 1/1 tools/configure: make iPXE dependent on QEMU traditional
Roger Pau Monne writes ("[PATCH for-4.16] tools/configure: make iPXE dependent on QEMU traditional"):
Quoted 6 lines
iPXE is only used by QEMU traditional, so make it off by default unless QEMU traditional is enabled.
Reported-by Andrew Cooper <[email protected]>Fixes bcf77ce510 ('configure: modify default of building rombios')Signed-off-by Roger Pau Monné <[email protected]>
This seems to me to be, effectively, a missing hunk from bcf77ce510. I have stared at it and it looks right to me. I also looked at some CI logs.
Ian.