From be9ab39cad5e884c329221e4a6db313541036e7c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 16 Oct 2015 23:56:45 +0200 Subject: [PATCH] Config: Have a simple configuration variable that enables EFI Signed-off-by: Michael Tremer --- lfs/Config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lfs/Config b/lfs/Config index 82bdde066a..f14767f88c 100644 --- a/lfs/Config +++ b/lfs/Config @@ -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 ############################################################################### -- 2.39.5