FreeCalypso > hg > fc-magnetite
annotate components/bmi @ 119:b92a33c204b6
components/bmi: started
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 07 Oct 2016 03:24:54 +0000 |
parents | |
children | dd70d4a6388f |
rev | line source |
---|---|
119
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building bmi.lib from TCS211 source |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-me -mt -o -pw2 -x -mw" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 CPPFLAGS= |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 make_version bmi |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 cfile_plain bmi_version.c |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 # Defines |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 CPPFLAGS=-DMMI_HOMEZONE_ENABLED |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 if [ "$GPRS" = 1 ] |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 then |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 fi |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 if [ "$TARGET" != c139 ] |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 then |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -DLSCREEN" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 fi |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 CPPFLAGS="$CPPFLAGS -DTRGT_G23" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 CPPFLAGS="$CPPFLAGS -D_TARGET_" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 CPPFLAGS="$CPPFLAGS -DALR" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 CPPFLAGS="$CPPFLAGS -DFF_CPHS" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 CPPFLAGS="$CPPFLAGS -D_TMS470" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 CPPFLAGS="$CPPFLAGS -DUART" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 CPPFLAGS="$CPPFLAGS -DFF_ATI" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 if [ "$GPRS" = 1 ] |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 then |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 CPPFLAGS="$CPPFLAGS -DGPRS" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 fi |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 CPPFLAGS="$CPPFLAGS -DMMI=2" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 CPPFLAGS="$CPPFLAGS -DMFW" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 if [ "$SRVC" != 0 ] |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 then |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 if [ "$SRVC" = 1 ] |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 then |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 CPPFLAGS="$CPPFLAGS -DFF_FAX" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 fi |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 fi |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 CPPFLAGS="$CPPFLAGS -DNWARN" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 # Includes |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/bmi" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/mfw" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/ksd" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/atb" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 CPPFLAGS="$CPPFLAGS -I.." |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 CPPFLAGS="$CPPFLAGS -I../config" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 # Source modules |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 SRCDIR=$SRC/aci2/bmi |
b92a33c204b6
components/bmi: started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 |