From 75e383fa93f8012a74ba99cce46d5a9677f1df3e Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Fri, 24 Aug 2018 16:22:47 +0100 Subject: [PATCH] automation: enable building rombios with clang Previously it is disabled because the embedded ipxe can't be built with clang. Now that ipxe is split out we can use --with-system-ipxe to work around the issue. Signed-off-by: Wei Liu --- automation/scripts/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/scripts/build b/automation/scripts/build index 797ff6d1b2..db4bac3302 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -16,8 +16,8 @@ cfgargs+=("--enable-docs") if [[ "${CC}" == "clang" ]]; then # SeaBIOS cannot be built with clang cfgargs+=("--with-system-seabios=/usr/share/seabios/bios.bin") - # iPXE cannot be built with clang so we cannot build rombios - cfgargs+=("--disable-rombios") + # iPXE cannot be built with clang + cfgargs+=("--with-system-ipxe=/usr/lib/ipxe/ipxe.pxe") # newlib cannot be built with clang so we cannot build stubdoms cfgargs+=("--disable-stubdom") fi -- 2.30.2