diff options
| author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-04-04 01:00:41 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-04-08 13:04:48 +0200 |
| commit | a0a749787aa4cebd8a1b919ee04cc8f450796fcb (patch) | |
| tree | 8da39804fd0f8461a77883e8be03fff4aa55151c /lib/efi_loader/Makefile | |
| 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 'lib/efi_loader/Makefile')
| -rw-r--r-- | lib/efi_loader/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile index fcb0af7e7d6..086521fb287 100644 --- a/lib/efi_loader/Makefile +++ b/lib/efi_loader/Makefile @@ -6,8 +6,7 @@ # This file only gets included with CONFIG_EFI_LOADER set, so all # object inclusion implicitly depends on it -asflags-y += -DHOST_ARCH="$(HOST_ARCH)" -I. -ccflags-y += -DHOST_ARCH="$(HOST_ARCH)" +asflags-y += -I. CFLAGS_efi_boottime.o += \ -DFW_VERSION="0x$(VERSION)" \ |
