119
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building bmi.lib from TCS211 source
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-me -mt -o -pw2 -x -mw"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 CPPFLAGS=
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 make_version bmi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 cfile_plain bmi_version.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 # Defines
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 CPPFLAGS=-DMMI_HOMEZONE_ENABLED
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22
|
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
23 case "$UI_CONFIG" in
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
24 bigcolor)
|
451
fd1d9063ad40
config mechanism: added ability to build D-Sample B&W UI configuration
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
25 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
|
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -DLSCREEN"
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
27 ;;
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
28 bigbw)
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
29 CPPFLAGS="$CPPFLAGS -DLSCREEN"
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
30 ;;
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
31 84x48)
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
32 ;;
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
33 *)
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
34 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
35 exit 1
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
36 esac
|
119
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 CPPFLAGS="$CPPFLAGS -D_TARGET_"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 CPPFLAGS="$CPPFLAGS -DALR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 CPPFLAGS="$CPPFLAGS -D_TMS470"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 CPPFLAGS="$CPPFLAGS -DUART"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 CPPFLAGS="$CPPFLAGS -DFF_ATI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 CPPFLAGS="$CPPFLAGS -DGPRS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 CPPFLAGS="$CPPFLAGS -DMMI=2"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 CPPFLAGS="$CPPFLAGS -DMFW"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 if [ "$SRVC" != 0 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 if [ "$SRVC" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 CPPFLAGS="$CPPFLAGS -DFF_FAX"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 CPPFLAGS="$CPPFLAGS -DNWARN"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 # Includes
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/bmi"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/mfw"
|
419
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
91 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci"
|
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
92 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd"
|
119
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/atb"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 CPPFLAGS="$CPPFLAGS -I.."
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 CPPFLAGS="$CPPFLAGS -I../config"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 # Source modules
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 SRCDIR=$SRC/aci2/bmi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120
|
121
|
121 cfile_str2ind $SRCDIR/mmiCall.c
|
|
122 cfile_str2ind $SRCDIR/mmiResources.c
|
|
123 cfile_str2ind $SRCDIR/mmiBlkLangDB.c
|
|
124 cfile_str2ind $SRCDIR/mmiBlkManager.c
|
|
125 cfile_str2ind $SRCDIR/mmiBlkResources.c
|
|
126 cfile_str2ind $SRCDIR/mmiBookCallDetailsWindow.c
|
|
127 cfile_str2ind $SRCDIR/mmiBookCallListWindow.c
|
|
128 cfile_str2ind $SRCDIR/mmiBookController.c
|
|
129 cfile_str2ind $SRCDIR/mmiBookDetailsWindow.c
|
|
130 cfile_str2ind $SRCDIR/mmiBookMenuWindow.c
|
|
131 cfile_str2ind $SRCDIR/mmiBookPhonebook.c
|
|
132 cfile_str2ind $SRCDIR/mmiBookSDNWindow.c
|
|
133 cfile_str2ind $SRCDIR/mmiBookSearchWindow.c
|
|
134 cfile_str2ind $SRCDIR/mmiBookServices.c
|
|
135 cfile_str2ind $SRCDIR/mmiBookShared.c
|
|
136 cfile_str2ind $SRCDIR/mmiBookUtils.c
|
|
137 cfile_str2ind $SRCDIR/mmiDialogs.c
|
|
138 cfile_str2ind $SRCDIR/mmiDummy.c
|
|
139 cfile_str2ind $SRCDIR/mmiIcons.c
|
|
140 cfile_str2ind $SRCDIR/mmiIdle.c
|
|
141 cfile_str2ind $SRCDIR/mmiLists.c
|
|
142 cfile_str2ind $SRCDIR/mmiMain.c
|
|
143 cfile_str2ind $SRCDIR/mmiMenu.c
|
|
144 cfile_str2ind $SRCDIR/mmiMmi.c
|
|
145 cfile_str2ind $SRCDIR/mmiNetwork.c
|
|
146 cfile_str2ind $SRCDIR/mmiPins.c
|
|
147 cfile_str2ind $SRCDIR/mmiServices.c
|
|
148 cfile_str2ind $SRCDIR/mmiSettings.c
|
|
149 cfile_str2ind $SRCDIR/mmiSmsBroadcast.c
|
|
150 cfile_str2ind $SRCDIR/mmiSounds.c
|
|
151 cfile_str2ind $SRCDIR/mmiSmsIdle.c
|
|
152 cfile_str2ind $SRCDIR/mmiSmsMenu.c
|
|
153 cfile_str2ind $SRCDIR/mmiSmsSend.c
|
|
154 cfile_str2ind $SRCDIR/mmiSmsRead.c
|
|
155 cfile_str2ind $SRCDIR/mmiSoftKeys.c
|
|
156 cfile_str2ind $SRCDIR/mmiStart.c
|
|
157 cfile_str2ind $SRCDIR/mmiTimeDate.c
|
|
158 cfile_str2ind $SRCDIR/mmiUserData.c
|
|
159 cfile_str2ind $SRCDIR/mmiSatCall.c
|
|
160 cfile_str2ind $SRCDIR/mmiSatInfo.c
|
|
161 cfile_str2ind $SRCDIR/mmiSatInput.c
|
|
162 cfile_str2ind $SRCDIR/mmiSatMenu.c
|
|
163 cfile_str2ind $SRCDIR/mmiSimToolkit.c
|
|
164 cfile_str2ind $SRCDIR/mmiVoiceMemo.c
|
|
165 cfile_str2ind $SRCDIR/mmiCalculatorMain.c
|
|
166 cfile_str2ind $SRCDIR/mmiMelody_data.c
|
|
167 cfile_str2ind $SRCDIR/mmiTimers.c
|
|
168 cfile_str2ind $SRCDIR/mmiAoc.c
|
|
169 cfile_str2ind $SRCDIR/mmiCPHS.c
|
|
170 cfile_str2ind $SRCDIR/mmiBand.c
|
|
171 cfile_str2ind $SRCDIR/mmiSatClassE.c
|
|
172
|
|
173 if [ "$GPRS" = 1 ]
|
|
174 then
|
|
175 cfile_str2ind $SRCDIR/mmiGprs.c
|
|
176 fi
|
|
177
|
|
178 cfile_str2ind $SRCDIR/mmiHomezone.c
|
|
179 cfile_str2ind $SRCDIR/AUICalcEditor.c
|
|
180 cfile_str2ind $SRCDIR/AUIEditor.c
|
|
181 cfile_str2ind $SRCDIR/AUIPinEditor.c
|
|
182 cfile_str2ind $SRCDIR/AUISymbol.c
|
|
183 cfile_str2ind $SRCDIR/AUITextEntry.c
|
|
184 cfile_str2ind $SRCDIR/mmiEm.c
|