Преглед на файлове

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>
Joe Hershberger преди 10 години
родител
ревизия
6aab5ae921
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      common/Kconfig

+ 6 - 0
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"