diff options
author | Heinrich Schuchardt | 2024-04-04 01:00:41 +0200 |
---|---|---|
committer | Heinrich Schuchardt | 2024-04-08 13:04:48 +0200 |
commit | a0a749787aa4cebd8a1b919ee04cc8f450796fcb (patch) | |
tree | 8da39804fd0f8461a77883e8be03fff4aa55151c /arch | |
parent | 8f31929562f5305c0ce94f2f41eedeb231d8d215 (diff) |
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 'arch')
-rw-r--r-- | arch/sandbox/config.mk | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sandbox/config.mk b/arch/sandbox/config.mk index 1d50991f8d2..405843800e9 100644 --- a/arch/sandbox/config.mk +++ b/arch/sandbox/config.mk @@ -69,5 +69,3 @@ EFI_LDS := ${SRCDIR}/../../../arch/riscv/lib/elf_riscv64_efi.lds endif EFI_CRT0 := crt0_sandbox_efi.o EFI_RELOC := reloc_sandbox_efi.o -AFLAGS_crt0_sandbox_efi.o += -DHOST_ARCH="$(HOST_ARCH)" -CFLAGS_reloc_sandbox_efi.o += -DHOST_ARCH="$(HOST_ARCH)" |