-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github/{scripts,worflows}: add support to build ipxe.efi
Add support to build ipxe.efi and use it in Dasharo (UEFI) build for QEMU Q35. Signed-off-by: Piotr Król <[email protected]>
- Loading branch information
1 parent
689d3fc
commit bcc97a6
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
export CROSS_COMPILE="x86_64-elf-" | ||
make -C src bin-x86_64-efi-sb/ipxe.efi EMBED=$PWD/dasharo.ipxe BUILD_ID_CMD="echo 0x1234567890" \ | ||
EXTRA_CFLAGS="-Wno-address-of-packed-member -m64 -fuse-ld=bfd \ | ||
-Wl,--build-id=none -fno-delete-null-pointer-checks -Wlogical-op -march=nocona \ | ||
-malign-data=abi -mcmodel=large -mno-red-zone -fno-pic" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters