From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Mon, 22 Jun 2015 16:15:26 -0500 Subject: [U-Boot] [PATCH 3/7] common: Add the CMD_ENV_EXISTS config to Kconfig In-Reply-To: <1435007730-8451-1-git-send-email-joe.hershberger@ni.com> References: <20150612120855.GV1728@bill-the-cat> <1435007730-8451-1-git-send-email-joe.hershberger@ni.com> Message-ID: <1435007730-8451-4-git-send-email-joe.hershberger@ni.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- common/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 0ccdf62..cb14592 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" -- 1.7.11.5