view components/libsys_fl @ 163:a911ac771094

board preprocessor conditionals: prep for more FC hw in the future Please see the corresponding change in fc-magnetite for the explanation.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 01 Apr 2019 01:20:03 +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