The UEFI bootloader for the HaribOS operating system
- clang
- mtools
- xorriso
- lld
- make
- qemu-system
- Clone the gnu-efi repository with this command
git clone https://git.code.sf.net/p/gnu-efi/code gnu-efi
- In the
data.c
file located in thegnu-efi/lib/
directory, you need to remove the 'LibStubStriCmp', 'LibStubMetaiMatch', and 'LibStubStrLwrUpr' references to avoid linking error. - In the Makefile, change the
GNU-EFI_LOCALIZATION
value to the folder you cloned the gnu-efi repository in. - Use the command
make
to build the system.
- Clone the OVMF binaries.
- In the Makefile, change the
OVMF_LOCALIZATION
value to the folder that contains the OVMF binaries. - Execute the command
make run
.