[U-Boot] [PATCH 3/3] efi_selftest: building sandbox with EFI_SELFTEST

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Nov 4 18:49:01 UTC 2018


Enable building the sandbox with CONFIG_EFI_SELFTEST.

But do not select it by default as the network unit test may fail.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 configs/sandbox_defconfig | 1 -
 lib/efi_selftest/Kconfig  | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 2ce336fc81c..7edc27f2cde 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -24,7 +24,6 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
 CONFIG_CMD_CPU=y
 CONFIG_CMD_LICENSE=y
 CONFIG_CMD_BOOTZ=y
-CONFIG_CMD_BOOTEFI_SELFTEST=y
 # CONFIG_CMD_ELF is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
diff --git a/lib/efi_selftest/Kconfig b/lib/efi_selftest/Kconfig
index b52696778dd..59f9f36801c 100644
--- a/lib/efi_selftest/Kconfig
+++ b/lib/efi_selftest/Kconfig
@@ -1,6 +1,6 @@
 config CMD_BOOTEFI_SELFTEST
 	bool "Allow booting an EFI efi_selftest"
-	depends on CMD_BOOTEFI && !SANDBOX
+	depends on CMD_BOOTEFI
 	imply FAT
 	imply FAT_WRITE
 	help
-- 
2.19.1



More information about the U-Boot mailing list