summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-21 17:02:42 -0500
committerTom Rini <trini@konsulko.com>2015-05-10 09:59:38 -0400
commit1a60650c732bd5f717682054a100d4682ab9e626 (patch)
tree1ea263299a6c6dbbd31d235f50496696a1754bd6 /lib
parent27e721564591f6f0a5246dcee418cac9d061012e (diff)
downloadtalos-obmc-uboot-1a60650c732bd5f717682054a100d4682ab9e626.tar.gz
talos-obmc-uboot-1a60650c732bd5f717682054a100d4682ab9e626.zip
kconfig: Move REGEX to Kconfig
Having this as a Kconfig allows it to be a dependent feature. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index d7fd21928d..0454a86a02 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -36,6 +36,14 @@ config SYS_VSNPRINTF
Thumb-2, about 420 bytes). Enable this option for safety when
using sprintf() with data you do not control.
+config REGEX
+ bool "Enable regular expression support"
+ help
+ If this variable is defined, U-Boot is linked against the
+ SLRE (Super Light Regular Expression) library, which adds
+ regex support to some commands, for example "env grep" and
+ "setexpr".
+
source lib/rsa/Kconfig
menu "Hashing Support"
OpenPOWER on IntegriCloud