From 5bf8b115271fe7cfb45d0e83ef9f29fcf609068a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 28 Jan 2023 16:24:05 +0000 Subject: [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 --- src/util/efirom.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util') diff --git a/src/util/efirom.c b/src/util/efirom.c index 95feaf239..8ac7966ef 100644 --- a/src/util/efirom.c +++ b/src/util/efirom.c @@ -28,6 +28,8 @@ #include #include #include + +#define EFI_HOSTONLY #include #include #include -- cgit v1.2.3-55-g7522