view components/libsys_fl @ 198:712a28fda778

init.c: sync with Magnetite This change affects only the D-Sample target which is not supported in Selenite, but we need to keep the diff down.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 28 May 2020 05:33:05 +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