[xen staging] automation: enable building rombios with clang

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] automation: enable building rombios with clang

patchbot
commit 75e383fa93f8012a74ba99cce46d5a9677f1df3e
Author:     Wei Liu <[hidden email]>
AuthorDate: Fri Aug 24 16:22:47 2018 +0100
Commit:     Wei Liu <[hidden email]>
CommitDate: Fri Mar 15 12:40:24 2019 +0000

    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 <[hidden email]>
---
 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
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog