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:
parent
75926bc33d
commit
04d6b35b5d
|
@ -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.
|
||||
|
|
|
@ -39,6 +39,9 @@ config BCH
|
|||
config BITREV
|
||||
bool
|
||||
|
||||
config FNMATCH
|
||||
bool
|
||||
|
||||
config QSORT
|
||||
bool
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue