Browse Source

common: Add the CMD_ENV_EXISTS config to Kconfig

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@ni.com>
Joe Hershberger 10 years ago
parent
commit
6aab5ae921
1 changed files with 6 additions and 0 deletions
  1. 6 0
      common/Kconfig

+ 6 - 0
common/Kconfig

@@ -191,6 +191,12 @@ config CMD_SAVEENV
 	  Save all environment variables into the compiled-in persistent
 	  Save all environment variables into the compiled-in persistent
 	  storage.
 	  storage.
 
 
+config CMD_ENV_EXISTS
+	bool "env exists"
+	help
+	  Check if a variable is defined in the environment for use in
+	  shell scripting.
+
 endmenu
 endmenu
 
 
 menu "Memory commands"
 menu "Memory commands"