mirror of
https://github.com/apache/nuttx.git
synced 2025-12-07 10:03:38 +08:00
libc: Move math library from libs/libc/math to libs/libm/libm
to prepare the support of other implementation e.g.: https://github.com/JuliaMath/openlibm https://gitlab.com/gtd-gmbh/libmcs Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
7a4bd09e48
commit
8b4ecac6c2
@@ -50,6 +50,13 @@ NUTTXLIBS += staging$(DELIM)libkmm$(LIBEXT) staging$(DELIM)libkarch$(LIBEXT)
|
||||
USERLIBS += staging$(DELIM)libproxies$(LIBEXT) staging$(DELIM)libc$(LIBEXT)
|
||||
USERLIBS += staging$(DELIM)libmm$(LIBEXT) staging$(DELIM)libarch$(LIBEXT)
|
||||
|
||||
# Add libraries for math support.
|
||||
|
||||
ifeq ($(CONFIG_LIBM_TOOLCHAIN)$(CONFIG_LIBM_NONE),)
|
||||
NUTTXLIBS += staging$(DELIM)libkm$(LIBEXT)
|
||||
USERLIBS += staging$(DELIM)libm$(LIBEXT)
|
||||
endif
|
||||
|
||||
# Add library for system call instrumentation if needed
|
||||
|
||||
ifeq ($(CONFIG_SCHED_INSTRUMENTATION_SYSCALL),y)
|
||||
|
||||
Reference in New Issue
Block a user