From a0a749787aa4cebd8a1b919ee04cc8f450796fcb Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Thu, 4 Apr 2024 01:00:41 +0200 Subject: efi_loader: move HOST_ARCH to version_autogenerated.h efi_default_filename.h requires HOST_ARCH to be defined. Up to now we defined it via a CFLAGS. This does not scale. Add the symbol to version_autogenerated.h instead. Signed-off-by: Heinrich Schuchardt Acked-by: Ilias Apalodimas --- include/host_arch.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/host_arch.h b/include/host_arch.h index 169d494..261194b 100644 --- a/include/host_arch.h +++ b/include/host_arch.h @@ -16,6 +16,8 @@ export HOST_ARCH_X86=0x0386 export HOST_ARCH_X86_64=0x8664 #endif +#include + #define HOST_ARCH_AARCH64 0xaa64 #define HOST_ARCH_ARM 0x00a7 #define HOST_ARCH_RISCV32 0x5032 -- cgit v1.1