common: Add the CMD_ENV_EXISTS config to Kconfig
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Jun 2015 21:15:26 +0000 (16:15 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2015 21:04:51 +0000 (17:04 -0400)
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>
common/Kconfig

index 0ccdf62c1e7b30f6da96381aea36db3b33c53dd6..cb14592e0ece7989c8bb247c30f8c8f07ea01586 100644 (file)
@@ -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"