view components/libsys_fl @ 167:5b0e7f9b3d05

components: new -D additions from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 19 Jun 2019 03:57:35 +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