aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-04-04 01:00:41 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-04-08 13:04:48 +0200
commita0a749787aa4cebd8a1b919ee04cc8f450796fcb (patch)
tree8da39804fd0f8461a77883e8be03fff4aa55151c /include
parent8f31929562f5305c0ce94f2f41eedeb231d8d215 (diff)
downloadu-boot-a0a749787aa4cebd8a1b919ee04cc8f450796fcb.zip
u-boot-a0a749787aa4cebd8a1b919ee04cc8f450796fcb.tar.gz
u-boot-a0a749787aa4cebd8a1b919ee04cc8f450796fcb.tar.bz2
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 <heinrich.schuchardt@canonical.com> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/host_arch.h2
1 files changed, 2 insertions, 0 deletions
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 <version.h>
+
#define HOST_ARCH_AARCH64 0xaa64
#define HOST_ARCH_ARM 0x00a7
#define HOST_ARCH_RISCV32 0x5032