annotate components/tif_na7_db_fl @ 174:097e25b925a2

doc/Compiling: gtm900 target added
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 19 Jun 2019 06:15:56 +0000
parents 23768d96edce
children
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
132
1f43655bb3e4 TRACEMASK_IN_FFS support like in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 105
diff changeset
11 if [ "$TRACEMASK_IN_FFS" = 1 ]
1f43655bb3e4 TRACEMASK_IN_FFS support like in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 105
diff changeset
12 then
1f43655bb3e4 TRACEMASK_IN_FFS support like in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 105
diff changeset
13 CPPFLAGS="$CPPFLAGS -D_FF_RV_EXIST_"
1f43655bb3e4 TRACEMASK_IN_FFS support like in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 105
diff changeset
14 fi
1f43655bb3e4 TRACEMASK_IN_FFS support like in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 105
diff changeset
15
105
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
16 if [ "$MEMSUPER" != 0 ]
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
17 then
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
18 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
19 fi
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
20
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 # Includes
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
23 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
32
b6c8dd9a1b02 components: switch to new Nucleus
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
24 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
25 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
26 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
27 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
28 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/tst"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="$CPPFLAGS -I.."
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 CPPFLAGS="$CPPFLAGS -I../config"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 # Source modules
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
27
0309400d714d components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
42 SRCDIR=$SRC/gpf/tst
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43
141
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
44 ln -sf $SRCDIR/drv $BUILD_DIR/$LIBNAME
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
45
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
46 c_file ./drv/tr2.c
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
47 c_file ./drv/tif2.c
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
48 c_file ./drv/ser_tr.c
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
49 c_file ./drv/titrc.c
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
50
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
51 cfile_symlink $SRCDIR/tst_pei.c
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
52 cfile_symlink $SRCDIR/tstdriver.c
23768d96edce compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
53 cfile_symlink $SRCDIR/tif_version.c