view components/libsys_fl @ 113:16703b3fb211

gcc linker script m4 magic minor fix
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Oct 2018 18:45:15 +0000
parents 1155be085fc1
children
line wrap: on
line source

# 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