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.
This commit is contained in:
Zoltán Vörös 2020-03-24 08:11:36 +01:00 committed by Damien George
parent bf4fb16250
commit c5cc64175b
4 changed files with 4 additions and 0 deletions

View File

@ -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 \

View File

@ -150,6 +150,7 @@ SRC_LIB += $(addprefix lib/,\
libm/asinfacosf.c \
libm/atanf.c \
libm/atan2f.c \
libm/roundf.c \
)
endif

View File

@ -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 \
)

View File

@ -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 \