Skip to content

Commit

Permalink
common: Add the CMD_ENV_EXISTS config to Kconfig
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jhershbe authored and trini committed Jun 25, 2015
1 parent f38bec9 commit 6aab5ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6aab5ae

Please sign in to comment.