diff components/libsys_fl @ 87:727aad1c308f

components/libsys_{fl,ir}: created
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 20:44:02 +0000
parents
children a23e6e011264
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libsys_fl	Fri Jul 20 20:44:02 2018 +0000
@@ -0,0 +1,13 @@
+# gcc-only component: libsys (selective libc replacement) for flash
+
+CFLAGS_gcc="-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