view components/libsys_fl @ 192:4f40ae165be4

abb.c & init.c: sync with Magnetite for Luna additions These Luna target-specific additions are conditionalized on CONFIG_TARGET_LUNA, a C preprocessor symbol that will never be defined in Selenite, hence this change has exactly zero impact on FC Selenite. However, they are being pulled in as a sync in order to keep the diff between Magnetite and Selenite to a minimum; keeping this diff to a minimum increases our opportunities for possible evolution of future FC firmwares.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 May 2020 07:03:46 +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