changeset 87:727aad1c308f

components/libsys_{fl,ir}: created
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 20:44:02 +0000
parents 425ab6d987f3
children b54e0f3759ff
files components/libsys_fl components/libsys_ir
diffstat 2 files changed, 21 insertions(+), 0 deletions(-) [+]
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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libsys_ir	Fri Jul 20 20:44:02 2018 +0000
@@ -0,0 +1,8 @@
+# gcc-only component: libsys (selective libc replacement) for IRAM
+
+ASMFLAGS=-mthumb-interwork
+CPPFLAGS=
+
+SRCDIR=$SRC/libsys
+
+asm_file $SRCDIR/bzero.S