[U-Boot] [PATCH 3/7] common: Add the CMD_ENV_EXISTS config to Kconfig

Joe Hershberger joe.hershberger at ni.com
Mon Jun 22 23:15:26 CEST 2015


This command needs to exist in the Kconfig so that it can be moved from
the config_cmd_default.h.

Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
---

 common/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index 0ccdf62..cb14592 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -191,6 +191,12 @@ config CMD_SAVEENV
 	  Save all environment variables into the compiled-in persistent
 	  storage.
 
+config CMD_ENV_EXISTS
+	bool "env exists"
+	help
+	  Check if a variable is defined in the environment for use in
+	  shell scripting.
+
 endmenu
 
 menu "Memory commands"
-- 
1.7.11.5



More information about the U-Boot mailing list