summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-05-05 19:08:13 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2015-06-01 09:39:29 -0500
commit7453cb595cc17898a8227777b410b3e34a689c37 (patch)
treef0a9e763915f7d0cd99f9d3309fe8ff7fcef5bd2 /common
parenta4bdf1def41a75a8e5a9203d0ad39f0120f8a583 (diff)
downloadu-boot-imx-7453cb595cc17898a8227777b410b3e34a689c37.zip
u-boot-imx-7453cb595cc17898a8227777b410b3e34a689c37.tar.gz
u-boot-imx-7453cb595cc17898a8227777b410b3e34a689c37.tar.bz2
Move setexpr to Kconfig
Another shell scripting command that has not been moved. Moved using tools/moveconfig.py using these settings: CMD_SETEXPR bool n y Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 5b8b0c3..2e3b8c0 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -252,6 +252,14 @@ config CMD_SOURCE
help
Run script from memory
+config CMD_SETEXPR
+ bool "setexpr"
+ help
+ Evaluate boolean and math expressions and store the result in an env
+ variable.
+ Also supports loading the value at a memory location into a variable.
+ If CONFIG_REGEX is enabled, setexpr also supports a gsub function.
+
endmenu
menu "Network commands"