mirror of
https://github.com/ipxe/ipxe
synced 2026-02-05 08:53:52 +03:00
[efi] Build util/efirom as a host-only binary
As with util/elf2efi32 and util/elf2efi64 in commit a99e435 ("[efi] Do
not rely on ProcessorBind.h when building host binaries"), build
util/efirom without using any architecture-specific EDK2 headers since
the build host's CPU architecture may not be supported by EDK2.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <getopt.h>
|
||||
|
||||
#define EFI_HOSTONLY
|
||||
#include <ipxe/efi/Uefi.h>
|
||||
#include <ipxe/efi/IndustryStandard/PeImage.h>
|
||||
#include <ipxe/efi/IndustryStandard/Pci22.h>
|
||||
|
||||
Reference in New Issue
Block a user