]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/Config
Merge branch 'glibc-2.28' into next
[ipfire-2.x.git] / lfs / Config
index f14767f88c2b83d342e05e55d4523d935e9d9df5..516fb1cabb8ee276ea639a30050beef9feb8c79e 100644 (file)
@@ -79,9 +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
-ifeq "$(MACHINE)" "x86_64"
+# We support EFI on x86_64 and aarch64
+ifeq "$(BUILD_ARCH)" "x86_64"
+       EFI = 1
+       EFI_ARCH = x64
+       GRUB_ARCH = $(BUILD_ARCH)
+endif
+
+ifeq "$(BUILD_ARCH)" "aarch64"
        EFI = 1
+       EFI_ARCH = aa64
+       GRUB_ARCH = arm64
 endif
 
 ###############################################################################