automation: enable building rombios with clang
authorWei Liu <wei.liu2@citrix.com>
Fri, 24 Aug 2018 15:22:47 +0000 (16:22 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 15 Mar 2019 12:40:24 +0000 (12:40 +0000)
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 <wei.liu2@citrix.com>
automation/scripts/build

index 797ff6d1b28874990101110d73daae7a80fb73d0..db4bac33029b55ef63377207c4184170fbe443c0 100755 (executable)
@@ -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