FreeCalypso > hg > fc-selenite
annotate components/frame_na7_db_fl @ 186:807fdc70cbd0
targets/gtm900mgc.h: sync with Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 15 Feb 2020 20:12:32 +0000 |
parents | 23768d96edce |
children |
rev | line source |
---|---|
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building frame_na7_db_fl.lib using the GPF source bits we got with TCS3.2 |
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 -o3 -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 -D_FF_RV_EXIST_ -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 if [ "$MEMSUPER" = 2 ] |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
16 then |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POOL" |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
18 fi |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
19 |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 # Includes |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
22 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" |
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" |
27
0309400d714d
components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/tst" |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 # Source modules |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
27
0309400d714d
components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
30 SRCDIR=$SRC/gpf/frame |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 |
141
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
32 cfile_symlink $SRCDIR/frame.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
33 cfile_symlink $SRCDIR/vsi_sem.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
34 cfile_symlink $SRCDIR/vsi_com.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
35 cfile_symlink $SRCDIR/vsi_mem.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
36 cfile_symlink $SRCDIR/vsi_tim.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
37 cfile_symlink $SRCDIR/vsi_mis.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
38 cfile_symlink $SRCDIR/vsi_drv.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
39 cfile_symlink $SRCDIR/vsi_trc.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
40 cfile_symlink $SRCDIR/vsi_pro.c |
105
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
41 if [ "$MEMSUPER" != 0 ] |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
42 then |
141
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
43 cfile_symlink $SRCDIR/vsi_ppm.c |
105
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
44 fi |
141
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
45 cfile_symlink $SRCDIR/xalert.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
46 cfile_symlink $SRCDIR/route.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
47 cfile_symlink $SRCDIR/prf_func.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
48 cfile_symlink $SRCDIR/frm_ext.c |
23768d96edce
compiling GPF libs: same symlink hacks as in Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
105
diff
changeset
|
49 cfile_symlink $SRCDIR/frame_version.c |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 # OSL |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 # drop -o3 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 |
27
0309400d714d
components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
56 SRCDIR=$SRC/gpf/osl |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
58 c_file $SRCDIR/os_com_fl.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
59 c_file $SRCDIR/os_drv.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
60 c_file $SRCDIR/os_isr.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
61 c_file $SRCDIR/os_mem_fl.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
62 c_file $SRCDIR/os_mis_fl.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
63 c_file $SRCDIR/os_pro_fl.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
64 c_file $SRCDIR/os_sem_fl.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
65 c_file $SRCDIR/os_tim_fl.c |