From 72d40cfddde09c4db8249ab7dec74e12c0664a6c 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 82bdde066..f14767f88 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 ###############################################################################