libs/xxx/CMakeLists.txt: add cmake compile support

Add the lib_bzero.c files to the build use it's API
Add the floating point math C files to the build to use it's API

Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
This commit is contained in:
Yongrong Wang 2024-09-02 21:43:30 +08:00 committed by GUIDINGLI
parent a7c4ceb869
commit 4baec5a248
2 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,7 @@
# Add the string C files to the build
set(SRCS
lib_bzero.c
lib_ffs.c
lib_ffsl.c
lib_ffsll.c

View File

@ -35,6 +35,10 @@ if(CONFIG_LIBM)
lib_coshf.c
lib_expf.c
lib_fmodf.c
lib_fmax.c
lib_fmin.c
lib_fminf.c
lib_fmaxf.c
lib_frexpf.c
lib_ldexpf.c
lib_logf.c