提交 c5cc6417 编写于 作者: Z Zoltán Vörös 提交者: Damien George

ports: Add lib/libm/roundf.c to bare-metal Makefile's.

This function is not used by the core but having it as part of the build
allows it to be used by user C modules, or board extensions.  The linker
won't include it in the final firmware if it remains unused.
上级 bf4fb162
......@@ -138,6 +138,7 @@ LIB_SRC_C = $(addprefix lib/,\
libm/asinfacosf.c \
libm/atanf.c \
libm/atan2f.c \
libm/roundf.c \
mp-readline/readline.c \
netutils/netutils.c \
timeutils/timeutils.c \
......
......@@ -150,6 +150,7 @@ SRC_LIB += $(addprefix lib/,\
libm/asinfacosf.c \
libm/atanf.c \
libm/atan2f.c \
libm/roundf.c \
)
endif
......
......@@ -90,6 +90,7 @@ LIB_SRC_C += $(addprefix lib/,\
libm/asinfacosf.c \
libm/atanf.c \
libm/atan2f.c \
libm/roundf.c \
utils/sys_stdio_mphal.c \
)
......
......@@ -214,6 +214,7 @@ SRC_LIBM = $(addprefix lib/libm/,\
kf_tan.c \
log1pf.c \
nearbyintf.c \
roundf.c \
sf_cos.c \
sf_erf.c \
sf_frexp.c \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册