diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-25 10:14:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-25 10:14:18 +0200 |
commit | 04d6b35b5d9a9ce5583ed04e8c7b6cf37d86fed0 (patch) | |
tree | 7f1311f18c2fae712018d05b0dc7994b9918f586 | |
parent | 75926bc33d2ec53e7b81cdfd68b66725fd8cd5ac (diff) | |
download | barebox-04d6b35b5d9a9ce5583ed04e8c7b6cf37d86fed0.tar.gz barebox-04d6b35b5d9a9ce5583ed04e8c7b6cf37d86fed0.tar.xz |
lib: Add Kconfig symbol for FNMATCH
fnmatch is useful on its own, so make a separate Kconfig symbol
and select it from GLOB.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | common/Kconfig | 1 | ||||
-rw-r--r-- | lib/Kconfig | 3 | ||||
-rw-r--r-- | lib/Makefile | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig index 6ce2a76afa..a85ee8daca 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -421,6 +421,7 @@ config MAXARGS config GLOB bool + select FNMATCH prompt "globbing support" help If you want to use wildcards like * or ? say y here. diff --git a/lib/Kconfig b/lib/Kconfig index d5f99ae2e5..f9f25bdef8 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -39,6 +39,9 @@ config BCH config BITREV bool +config FNMATCH + bool + config QSORT bool diff --git a/lib/Makefile b/lib/Makefile index 92404fd331..1be1742499 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -27,7 +27,7 @@ obj-$(CONFIG_ZLIB) += decompress_inflate.o zlib_inflate/ obj-$(CONFIG_XZ_DECOMPRESS) += decompress_unxz.o xz/ obj-$(CONFIG_CMDLINE_EDITING) += readline.o obj-$(CONFIG_SIMPLE_READLINE) += readline_simple.o -obj-$(CONFIG_GLOB) += fnmatch.o +obj-$(CONFIG_FNMATCH) += fnmatch.o obj-$(CONFIG_GENERIC_FIND_NEXT_BIT) += find_next_bit.o obj-y += glob.o obj-y += notifier.o |