summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-06-22 16:15:26 -0500
committerTom Rini <trini@konsulko.com>2015-06-25 17:04:51 -0400
commit6aab5ae921958722cd577a1bdc5748969e1f7917 (patch)
treeddcb544fb69e14830cfe03954e8fcef2d686a697
parentf38bec9f15ab04014b84b34b6aba246d5340e806 (diff)
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>
-rw-r--r--common/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 0ccdf62c1e..cb14592e0e 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"