FreeCalypso > hg > fc-selenite
annotate components/libsys_fl @ 101:2c4e31c7c4e5
LICENSE: same as Citrine and Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 21 Jul 2018 07:28:12 +0000 |
parents | a23e6e011264 |
children | 1155be085fc1 |
rev | line source |
---|---|
87
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # gcc-only component: libsys (selective libc replacement) for flash |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
95
a23e6e011264
closer to passing link with abort, exit and __assert_func stubbed out
Mychaela Falconia <falcon@freecalypso.org>
parents:
87
diff
changeset
|
3 ASMFLAGS=-mthumb-interwork |
87
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb" |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 CPPFLAGS= |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 SRCDIR=$SRC/libsys |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 c_file $SRCDIR/rand.c |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 c_file $SRCDIR/strtok.c |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 c_file $SRCDIR/sprintf/float.c |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 c_file $SRCDIR/sprintf/integer.c |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 c_file $SRCDIR/sprintf/sprintf.c |
727aad1c308f
components/libsys_{fl,ir}: created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 c_file $SRCDIR/sprintf/vspcore.c |
95
a23e6e011264
closer to passing link with abort, exit and __assert_func stubbed out
Mychaela Falconia <falcon@freecalypso.org>
parents:
87
diff
changeset
|
15 |
a23e6e011264
closer to passing link with abort, exit and __assert_func stubbed out
Mychaela Falconia <falcon@freecalypso.org>
parents:
87
diff
changeset
|
16 asm_file $SRCDIR/exitstub.S |