[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [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 <wei.liu2@xxxxxxxxxx>
---
Depends on the ipxe series just committed.
---
 automation/scripts/build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/automation/scripts/build b/automation/scripts/build
index 054226bd73..4dcaabf4bd 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/share/ipxe/ipxe.bin")
     # newlib cannot be built with clang so we cannot build stubdoms
     cfgargs+=("--disable-stubdom")
 fi
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.