]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Config: Have a simple configuration variable that enables EFI
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Oct 2015 21:56:45 +0000 (23:56 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Jul 2018 12:43:50 +0000 (13:43 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config

index 82bdde066a991ca0629df53c81758a2f036093b6..f14767f88c2b83d342e05e55d4523d935e9d9df5 100644 (file)
@@ -79,6 +79,11 @@ 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"
+       EFI = 1
+endif
+
 ###############################################################################
 # Common Macro Definitions
 ###############################################################################