[PATCH 3/3] common: select dependencies for defaultenv-2

Lucas Stach l.stach at pengutronix.de
Thu May 26 03:09:13 PDT 2016


Now that GLOBALVAR and NVVAR are user visible options they need
to be selected when selecting the global and nv command support
which uses them.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 common/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index 928db0a159e1..a8c1855aab17 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -740,14 +740,17 @@ config DEFAULT_ENVIRONMENT_GENERIC_NEW
 	bool
 	depends on DEFAULT_ENVIRONMENT
 	depends on SHELL_HUSH
+	select COMMAND_SUPPORT
 	select CMD_GETOPT
 	select GLOB
 	select GLOB_SORT
+	select GLOBALVAR
 	select CMD_GLOBAL
 	select CMD_AUTOMOUNT
 	select CMD_BASENAME
 	select CMD_READLINK
 	select CMD_DIRNAME
+	select NVVAR
 	select CMD_NV
 	select FLEXIBLE_BOOTARGS
 	select CMD_BOOT
-- 
2.8.1




More information about the barebox mailing list