FreeCalypso > hg > fc-selenite
annotate components/l1_pei @ 208:68184e15d92c
src/cs: sync with Magnetite (TI_PROFILER support)
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 05:20:43 +0000 |
parents | 5c4db73d289a |
children |
rev | line source |
---|---|
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building l1_pei.lib |
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="-me -mt -o -pw2 -x -mw" |
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 CPPFLAGS= |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 make_version l1 l1_pei |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
8 c_file l1_pei_version.c |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 # Defines |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS=-DCCDTABLES_EXTERN |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 CPPFLAGS="$CPPFLAGS -D_TARGET_" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 CPPFLAGS="$CPPFLAGS -DALR" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 CPPFLAGS="$CPPFLAGS -DFF_CPHS" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 CPPFLAGS="$CPPFLAGS -D_TMS470" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 CPPFLAGS="$CPPFLAGS -DUART" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 CPPFLAGS="$CPPFLAGS -DFF_ATI" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -DNWARN" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 if [ "$GPRS" = 1 ] |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 then |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 CPPFLAGS="$CPPFLAGS -DGPRS" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 fi |
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 CPPFLAGS="$CPPFLAGS -DALR=1" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 CPPFLAGS="$CPPFLAGS -DNCONF" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 CPPFLAGS="$CPPFLAGS -DNTRACE" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
105
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
39 if [ "$MEMSUPER" != 0 ] |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
40 then |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
42 fi |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
43 |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 # Includes |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 SRCDIR=$SRC/g23m-gsm/l1 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
48 CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
49 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
50 CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/include" |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
51 CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/cdginc" |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 CPPFLAGS="$CPPFLAGS -I$SRCDIR" |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
53 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 # Source modules |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
57 c_file $SRCDIR/l1_pei.c |