ext: lib: Move fnmatch to lib/
Since we already have similarly licensed 3-clause BSD files in the tree, and in particular in our minimal libc, move the fnmatch functionality from ext/ to lib/. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
084853f276
commit
d212bc4d60
|
@ -339,6 +339,7 @@
|
|||
/include/toolchain/ @andrewboie @andyross
|
||||
/include/zephyr.h @andrewboie @andyross
|
||||
/kernel/ @andrewboie @andyross
|
||||
/lib/fnmatch/ @carlescufi
|
||||
/lib/gui/ @vanwinkeljan
|
||||
/lib/os/ @andrewboie @andyross
|
||||
/lib/posix/ @pfalcon
|
||||
|
|
|
@ -32,7 +32,6 @@ source "dts/Kconfig"
|
|||
source "drivers/Kconfig"
|
||||
source "lib/Kconfig"
|
||||
source "subsys/Kconfig"
|
||||
source "ext/Kconfig"
|
||||
|
||||
osource "$(TOOLCHAIN_KCONFIG_DIR)/Kconfig"
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
add_subdirectory(lib)
|
||||
add_subdirectory(debug)
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
add_subdirectory_ifdef(CONFIG_FNMATCH fnmatch)
|
|
@ -6,6 +6,7 @@ add_subdirectory(posix)
|
|||
endif()
|
||||
add_subdirectory_ifdef(CONFIG_CMSIS_RTOS_V1 cmsis_rtos_v1)
|
||||
add_subdirectory_ifdef(CONFIG_CMSIS_RTOS_V2 cmsis_rtos_v2)
|
||||
add_subdirectory_ifdef(CONFIG_FNMATCH fnmatch)
|
||||
add_subdirectory(gui)
|
||||
add_subdirectory(os)
|
||||
add_subdirectory_ifdef(CONFIG_UPDATEHUB updatehub)
|
||||
|
|
|
@ -9,6 +9,8 @@ source "lib/cmsis_rtos_v1/Kconfig"
|
|||
|
||||
source "lib/cmsis_rtos_v2/Kconfig"
|
||||
|
||||
source "lib/fnmatch/Kconfig"
|
||||
|
||||
source "lib/gui/Kconfig"
|
||||
|
||||
source "lib/os/Kconfig"
|
||||
|
|
|
@ -12,4 +12,3 @@ zephyr_sources_ifdef(
|
|||
CONFIG_FNMATCH
|
||||
fnmatch.c
|
||||
)
|
||||
|
|
@ -205,4 +205,3 @@ int fnmatch(const char *pattern, const char *string, int flags)
|
|||
{
|
||||
return fnmatchx(pattern, string, flags, 64);
|
||||
}
|
||||
|
|
@ -47,4 +47,3 @@
|
|||
int fnmatch(const char *, const char *, int);
|
||||
|
||||
#endif /* !_FNMATCH_H_ */
|
||||
|
Loading…
Reference in a new issue