diff mbox

[U-Boot,3/7] common: Add the CMD_ENV_EXISTS config to Kconfig

Message ID 1435007730-8451-4-git-send-email-joe.hershberger@ni.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Joe Hershberger June 22, 2015, 9:15 p.m. UTC
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 | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Tom Rini June 26, 2015, 9:05 p.m. UTC | #1
On Mon, Jun 22, 2015 at 04:15:26PM -0500, Joe Hershberger wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

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"