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.
pull/5805/head
Zoltán Vörös 2020-03-24 08:11:36 +01:00 zatwierdzone przez Damien George
rodzic bf4fb16250
commit c5cc64175b
4 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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