FreeCalypso > hg > fc-magnetite
annotate components/mfw-tcs3 @ 569:29c0be5a1962
doc update for the arrival of correctly working FCDEV3B V2 hardware
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 12 Jan 2019 19:46:58 +0000 |
parents | ad7f986afae3 |
children |
rev | line source |
---|---|
433
f6ea8d4a5cd8
components/mfw-tcs3: recipe created, starting to compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
1 # Building mfw.lib from TCS3/LoCosto source |
126 | 2 |
3 CFLAGS="-me -mt -o -pw2 -x -mw" | |
4 CPPFLAGS= | |
5 | |
6 make_version mfw | |
7 cfile_plain mfw_version.c | |
8 | |
9 # Defines | |
10 | |
11 CPPFLAGS=-DCCDTABLES_EXTERN | |
12 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
13 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
14 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
15 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
16 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
17 CPPFLAGS="$CPPFLAGS -DALR" | |
18 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
19 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
21 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
22 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
23 CPPFLAGS="$CPPFLAGS -DUART" | |
24 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
25 CPPFLAGS="$CPPFLAGS -DNWARN" | |
26 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
27 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" | |
28 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" | |
29 | |
30 if [ "$SRVC" != 0 ] | |
31 then | |
32 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" | |
33 if [ "$SRVC" = 1 ] | |
34 then | |
35 CPPFLAGS="$CPPFLAGS -DFF_FAX" | |
36 fi | |
37 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" | |
38 fi | |
39 | |
40 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" | |
41 CPPFLAGS="$CPPFLAGS -DMMI=2" | |
42 CPPFLAGS="$CPPFLAGS -DMFW" | |
43 CPPFLAGS="$CPPFLAGS -DMMI_HOMEZONE_ENABLED" | |
44 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
45 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
46 | |
47 if [ "$GPRS" = 1 ] | |
48 then | |
49 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED" | |
50 fi | |
51 | |
52 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" | |
53 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" | |
54 | |
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
55 case "$UI_CONFIG" in |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
56 bigcolor) |
451
fd1d9063ad40
config mechanism: added ability to build D-Sample B&W UI configuration
Mychaela Falconia <falcon@freecalypso.org>
parents:
433
diff
changeset
|
57 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" |
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
58 CPPFLAGS="$CPPFLAGS -DLSCREEN" |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
59 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
60 bigbw) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
61 CPPFLAGS="$CPPFLAGS -DLSCREEN" |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
62 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
63 84x48) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
64 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
65 *) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
66 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>
parents:
451
diff
changeset
|
67 exit 1 |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
68 esac |
126 | 69 |
70 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" | |
71 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" | |
72 CPPFLAGS="$CPPFLAGS -DTRGT_G23" | |
73 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" | |
74 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
75 | |
76 if [ "$GPRS" = 1 ] | |
77 then | |
78 CPPFLAGS="$CPPFLAGS -DGPRS" | |
79 fi | |
80 | |
81 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT" | |
482
ad7f986afae3
pass -DCHIPSET and -DBOARD for all TCS3.2 components
Mychaela Falconia <falcon@freecalypso.org>
parents:
452
diff
changeset
|
82 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" |
ad7f986afae3
pass -DCHIPSET and -DBOARD for all TCS3.2 components
Mychaela Falconia <falcon@freecalypso.org>
parents:
452
diff
changeset
|
83 CPPFLAGS="$CPPFLAGS -DBOARD=41" |
126 | 84 |
85 # Includes | |
86 | |
87 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
88 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
89 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
90 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
419
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
parents:
378
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>
parents:
378
diff
changeset
|
92 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd" |
433
f6ea8d4a5cd8
components/mfw-tcs3: recipe created, starting to compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
93 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/atb" |
f6ea8d4a5cd8
components/mfw-tcs3: recipe created, starting to compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
94 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw" |
419
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
parents:
378
diff
changeset
|
95 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_ext" |
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
parents:
378
diff
changeset
|
96 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_dti_mng" |
126 | 97 CPPFLAGS="$CPPFLAGS -I.." |
98 CPPFLAGS="$CPPFLAGS -I../config" | |
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
111 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
112 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
113 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
114 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
115 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
116 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
117 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
118 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
119 | |
120 # MFW source modules | |
121 | |
433
f6ea8d4a5cd8
components/mfw-tcs3: recipe created, starting to compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
122 SRCDIR=$SRC/ui3/mfw |
126 | 123 |
124 cfile_str2ind $SRCDIR/ti1_key.c | |
125 cfile_str2ind $SRCDIR/ti1_tmr.c | |
126 cfile_str2ind $SRCDIR/mfw_mfw.c | |
127 cfile_str2ind $SRCDIR/mfw_win.c | |
128 cfile_str2ind $SRCDIR/mfw_kbd.c | |
129 cfile_str2ind $SRCDIR/mfw_tim.c | |
130 cfile_str2ind $SRCDIR/mfw_mnu.c | |
131 cfile_str2ind $SRCDIR/mfw_icn.c | |
132 cfile_str2ind $SRCDIR/mfw_ext.c | |
133 cfile_str2ind $SRCDIR/mfw_cm.c | |
134 cfile_str2ind $SRCDIR/mfw_ss.c | |
135 cfile_str2ind $SRCDIR/mfw_nm.c | |
136 cfile_str2ind $SRCDIR/mfw_nma.c | |
137 cfile_str2ind $SRCDIR/mfw_sim.c | |
138 cfile_str2ind $SRCDIR/mfw_sima.c | |
139 cfile_str2ind $SRCDIR/mfw_sms.c | |
140 cfile_str2ind $SRCDIR/mfw_phb.c | |
141 cfile_str2ind $SRCDIR/mfw_mme.c | |
142 cfile_str2ind $SRCDIR/mfw_cb.c | |
143 cfile_str2ind $SRCDIR/mfw_acie.c | |
144 cfile_str2ind $SRCDIR/mfw_sat.c | |
145 cfile_str2ind $SRCDIR/mfw_lng.c | |
146 cfile_str2ind $SRCDIR/mfw_cnvt.c | |
147 cfile_str2ind $SRCDIR/mfw_cphs.c | |
148 cfile_str2ind $SRCDIR/mfw_str.c | |
149 cfile_str2ind $SRCDIR/mfw_ffs.c | |
150 | |
151 if [ "$GPRS" = 1 ] | |
152 then | |
153 cfile_str2ind $SRCDIR/mfw_gprs.c | |
154 fi | |
155 | |
156 cfile_str2ind $SRCDIR/mfw_band.c | |
157 cfile_str2ind $SRCDIR/mfw_em.c | |
158 cfile_str2ind $SRCDIR/mfw_utils.c | |
159 cfile_str2ind $SRCDIR/mfw_aud.c | |
160 cfile_str2ind $SRCDIR/mfw_td.c | |
161 | |
162 # ATB source modules | |
163 | |
433
f6ea8d4a5cd8
components/mfw-tcs3: recipe created, starting to compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
164 SRCDIR=$SRC/ui3/atb |
126 | 165 |
166 cfile_str2ind $SRCDIR/ATBCommon.c | |
167 cfile_str2ind $SRCDIR/ATBDisplay.c | |
168 cfile_str2ind $SRCDIR/ATBEditor.c | |
169 cfile_str2ind $SRCDIR/ATBPb.c | |
170 cfile_str2ind $SRCDIR/ATBPbFS.c | |
171 cfile_str2ind $SRCDIR/ATBPbGI.c |