From 582aba05344e161a2ecbed81eef19005a80289ed Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 31 May 2018 13:47:47 +0100 Subject: [PATCH] Enable EFI on aarch64 Signed-off-by: Michael Tremer --- lfs/Config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lfs/Config b/lfs/Config index d21623cb64..bb2939078b 100644 --- a/lfs/Config +++ b/lfs/Config @@ -79,12 +79,17 @@ DIR_TMP = /tmp # Add the compiler location and version and specs to the ccache hash CCACHE_COMPILERCHECK += $(shell gcc -dumpspecs 2>/dev/null | md5sum | cut -d ' ' -f1) -# We support EFI on x86_64 +# We support EFI on x86_64 and aarch64 ifeq "$(BUILD_ARCH)" "x86_64" EFI = 1 EFI_ARCH = x64 endif +ifeq "$(BUILD_ARCH)" "aarch64" + EFI = 1 + EFI_ARCH = aa64 +endif + # Basic modules GRUB_EFI_MODULES = \ configfile \ -- 2.39.5