Commit 6aab5ae921958722cd577a1bdc5748969e1f7917
Committed by
Tom Rini
1 parent
f38bec9f15
Exists in
v2017.01-smarct4x
and in
34 other branches
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 <joe.hershberger@ni.com>
Showing 1 changed file with 6 additions and 0 deletions Side-by-side Diff
common/Kconfig
... | ... | @@ -191,6 +191,12 @@ |
191 | 191 | Save all environment variables into the compiled-in persistent |
192 | 192 | storage. |
193 | 193 | |
194 | +config CMD_ENV_EXISTS | |
195 | + bool "env exists" | |
196 | + help | |
197 | + Check if a variable is defined in the environment for use in | |
198 | + shell scripting. | |
199 | + | |
194 | 200 | endmenu |
195 | 201 | |
196 | 202 | menu "Memory commands" |