annotate components/tif_na7_db_fl @ 105:5c4db73d289a

build system support for memory supervision
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 23 Jul 2018 07:01:39 +0000
parents 1155be085fc1
children 1f43655bb3e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building tif_na7_db_fl.lib using the GPF source bits we got with TCS211
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
103
1155be085fc1 components/*: added -g to CFLAGS_gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 50
diff changeset
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 # Defines
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 CPPFLAGS="-DNU_DEBUG -DRUN_FLASH"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
105
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
11 if [ "$MEMSUPER" != 0 ]
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
12 then
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
13 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
14 fi
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
15
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 # Includes
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
18 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
32
b6c8dd9a1b02 components: switch to new Nucleus
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
19 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
20 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
21 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
22 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/ccd"
27
0309400d714d components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
23 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/tst"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 CPPFLAGS="$CPPFLAGS -I.."
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 CPPFLAGS="$CPPFLAGS -I../config"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 # Source modules
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36
27
0309400d714d components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
37 SRCDIR=$SRC/gpf/tst
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
39 c_file $SRCDIR/drv/tr2.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
40 c_file $SRCDIR/drv/tif2.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
41 c_file $SRCDIR/drv/ser_tr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
42 c_file $SRCDIR/drv/titrc.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
43 c_file $SRCDIR/tst_pei.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
44 c_file $SRCDIR/tstdriver.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
45 c_file $SRCDIR/tif_version.c