9
0
Fork 0

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>
This commit is contained in:
Sascha Hauer 2016-07-25 10:14:15 +02:00
parent 75926bc33d
commit 04d6b35b5d
3 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -39,6 +39,9 @@ config BCH
config BITREV
bool
config FNMATCH
bool
config QSORT
bool

View File

@ -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