From ccddc3470c58e4bc791ed99b01d9321b5c61591e Mon Sep 17 00:00:00 2001
From: Alberto Bursi <bobafetthotmail@gmail.com>
Date: Sun, 20 Sep 2020 01:36:05 +0200
Subject: [PATCH] x86: generic: disable CONFIG_EFI_VARS

CONFIG_EFI_VARS has been disabled in
64bit x86 target in 2018 by the following commit
b0a51dab8c5b8d40828a00b0c6d66450bf90f217
the same reasons apply to Generic target, so
now it's disabled here too.
Leaving it enabled is also blocking compile as
a new symbol was added
EFI_CUSTOM_SSDT_OVERLAYS
that depends from CONFIG_EFI_VARS
and the build system stops and waits for
user input on what to do about it.

The Legacy and Geode targets never
had any EFI_xxx configs enabled so they
don't have this issue

Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
---
 target/linux/x86/generic/config-5.4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/x86/generic/config-5.4 b/target/linux/x86/generic/config-5.4
index ada81ce04e..3b7b32a803 100644
--- a/target/linux/x86/generic/config-5.4
+++ b/target/linux/x86/generic/config-5.4
@@ -126,7 +126,7 @@ CONFIG_EFI_RUNTIME_MAP=y
 CONFIG_EFI_RUNTIME_WRAPPERS=y
 CONFIG_EFI_STUB=y
 # CONFIG_EFI_TEST is not set
-CONFIG_EFI_VARS=y
+# CONFIG_EFI_VARS is not set
 # CONFIG_EISA is not set
 # CONFIG_EL3 is not set
 CONFIG_FAILOVER=y
-- 
2.30.2