From: Joe Hershberger Date: Mon, 22 Jun 2015 21:15:26 +0000 (-0500) Subject: common: Add the CMD_ENV_EXISTS config to Kconfig X-Git-Tag: v2025.01-rc5-pxa1908~12657 X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=6aab5ae921958722cd577a1bdc5748969e1f7917;p=u-boot.git 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 --- 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"