From 07e1c7e47c8cea01f1189cf04da0ce1423beb4e5 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 5 Mar 2018 20:29:55 +0000 Subject: [PATCH] 6809: Update the library build Build a libm and don't confuse with libc Build the double libary (or most of it) --- Library/libs/Makefile.6809 | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/Library/libs/Makefile.6809 b/Library/libs/Makefile.6809 index 2129dcc2..742e4d93 100644 --- a/Library/libs/Makefile.6809 +++ b/Library/libs/Makefile.6809 @@ -83,6 +83,21 @@ SRC_LM += __expo2f.c __float_bits.c __fpclassifyf.c __log1pf.c __signgam.c SRC_LM += mathhelper.c +#remainder.c seems to crash gcc +SRC_LM += acos.c acosh.c asin.c asinh.c atan2.c atan.c atanh.c +SRC_LM += cbrt.c ceil.c copysign.c erf.c exp.c expm1.c +SRC_LM += fabs.c fdim.c floor.c fmax.c fmin.c fmod.c frexp.c +SRC_LM += hypot.c j0.c j1.c jn.c +SRC_LM += ldexp.c lgamma.c lgamma_r.c log.c log2.c log10.c +SRC_LM += lrint.c lround.c +SRC_LM += modf.c nearbyint.c pow.c +SRC_LM += remquo.c rint.c round.c +SRC_LM += scalbn.c +SRC_LM += sin.c sincos.c sinh.c +SRC_LM += sqrt.c tgamma.c +SRC_LM += __expo2.c __double_bits.c __fpclassify.c __log1p.c + + OBJ_C = $(SRC_C:.c=.o) OBJ_CURS = $(SRC_CURS:.c=.o) OBJ_CT = $(SRC_CT:.c=.o) @@ -97,8 +112,8 @@ $(OBJ_ALL): $(KRN_HEADERS_COPY) $(KRN_HEADERS_COPY): $(KRN_HEADERS_SRC) cp ../../Kernel/include/$(notdir $@) $@ -libc.l:%.l:$(OBJ_ALL) - ls $(OBJ_ALL) > libc.l +libc.l:%.l:$(OBJ_C) $(OBJ_ASM) $(OBJ_HARD) + ls $(OBJ_C) $(OBJ_ASM) $(OBJ_HARD) > libc.l syscall.l: fuzix$(PLATFORM)/syslib.l ../tools/syscall_$(PLATFORM) -- 2.34.1