]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:56 +0000 (00:42 +0200)
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 9990bec5b95e45cfad4e595f04c174a18810fee7..8ce6d6255962e1195a579c29eab88d76658106b5 100644 (file)
@@ -222,6 +222,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"