diff components/libsys_fl @ 5:3b367f330821

components: pruned import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 02:20:23 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libsys_fl	Fri May 15 02:20:23 2020 +0000
@@ -0,0 +1,16 @@
+# gcc-only component: libsys (selective libc replacement) for flash
+
+ASMFLAGS=-mthumb-interwork
+CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
+CPPFLAGS=
+
+SRCDIR=$SRC/libsys
+
+c_file $SRCDIR/rand.c
+c_file $SRCDIR/strtok.c
+c_file $SRCDIR/sprintf/float.c
+c_file $SRCDIR/sprintf/integer.c
+c_file $SRCDIR/sprintf/sprintf.c
+c_file $SRCDIR/sprintf/vspcore.c
+
+asm_file $SRCDIR/exitstub.S