FreeCalypso > hg > fc-magnetite
annotate components/icn @ 468:79bc5876eb98
romvecs-patch: actual patch for xxd created
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Mar 2018 01:28:30 +0000 |
parents | 4d7c2ccb5814 |
children |
rev | line source |
---|---|
124 | 1 # Building icn.lib from TCS211 source |
2 | |
3 CFLAGS="-me -mt -o -pw2 -x -mw" | |
4 CPPFLAGS= | |
5 | |
6 # Defines | |
7 | |
8 CPPFLAGS=-DMMI_HOMEZONE_ENABLED | |
9 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
10 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
11 | |
12 if [ "$GPRS" = 1 ] | |
13 then | |
14 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED" | |
15 fi | |
16 | |
17 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" | |
18 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" | |
19 | |
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
20 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
|
21 bigcolor) |
451
fd1d9063ad40
config mechanism: added ability to build D-Sample B&W UI configuration
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
22 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
|
23 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
|
24 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
25 bigbw) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
26 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
|
27 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
28 84x48) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
29 ;; |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
30 *) |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
31 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
|
32 exit 1 |
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
33 esac |
124 | 34 |
35 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" | |
36 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" | |
37 CPPFLAGS="$CPPFLAGS -DTRGT_G23" | |
38 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" | |
39 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN" | |
40 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
41 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
42 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
43 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
44 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
45 CPPFLAGS="$CPPFLAGS -DALR" | |
46 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
47 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
48 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
49 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
50 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
51 CPPFLAGS="$CPPFLAGS -DUART" | |
52 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
53 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
54 | |
55 if [ "$GPRS" = 1 ] | |
56 then | |
57 CPPFLAGS="$CPPFLAGS -DGPRS" | |
58 fi | |
59 | |
60 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
61 CPPFLAGS="$CPPFLAGS -DMMI=2" | |
62 CPPFLAGS="$CPPFLAGS -DMFW" | |
63 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" | |
64 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" | |
65 | |
66 if [ "$SRVC" != 0 ] | |
67 then | |
68 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" | |
69 if [ "$SRVC" = 1 ] | |
70 then | |
71 CPPFLAGS="$CPPFLAGS -DFF_FAX" | |
72 fi | |
73 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" | |
74 fi | |
75 | |
76 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" | |
77 CPPFLAGS="$CPPFLAGS -DNWARN" | |
78 | |
79 # Includes | |
80 | |
81 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
82 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
83 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
84 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
85 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/bmi" | |
86 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/mfw" | |
419
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
parents:
378
diff
changeset
|
87 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
|
88 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd" |
124 | 89 CPPFLAGS="$CPPFLAGS -I.." |
90 CPPFLAGS="$CPPFLAGS -I../config" | |
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
111 | |
112 # Source modules | |
113 | |
114 SRCDIR=$SRC/aci2/bmi/Icons | |
115 | |
116 cfile_str2ind $SRCDIR/IcnAniPhone.c | |
117 cfile_str2ind $SRCDIR/IcnBattery.c | |
118 cfile_str2ind $SRCDIR/IcnBgdSquares.c | |
119 cfile_str2ind $SRCDIR/IcnBgdTI.c | |
120 cfile_str2ind $SRCDIR/IcnCallBackGround.c | |
121 cfile_str2ind $SRCDIR/IcnCipher.c | |
122 cfile_str2ind $SRCDIR/IcnDefs.c | |
123 cfile_str2ind $SRCDIR/IcnForward.c | |
124 cfile_str2ind $SRCDIR/IcnGprs.c | |
125 cfile_str2ind $SRCDIR/IcnHomezone.c | |
126 cfile_str2ind $SRCDIR/IcnKeylock.c | |
127 cfile_str2ind $SRCDIR/IcnLogoTI.c | |
128 cfile_str2ind $SRCDIR/IcnMainApp.c | |
129 cfile_str2ind $SRCDIR/IcnMainDiv.c | |
130 cfile_str2ind $SRCDIR/IcnMainMsg.c | |
131 cfile_str2ind $SRCDIR/IcnMainPhb.c | |
132 cfile_str2ind $SRCDIR/IcnMainRcl.c | |
133 cfile_str2ind $SRCDIR/IcnMainSec.c | |
134 cfile_str2ind $SRCDIR/IcnMainSet.c | |
135 cfile_str2ind $SRCDIR/IcnMainStk.c | |
136 cfile_str2ind $SRCDIR/IcnMainWap.c | |
137 cfile_str2ind $SRCDIR/IcnMessage.c | |
138 cfile_str2ind $SRCDIR/IcnNetBouygues.c | |
139 cfile_str2ind $SRCDIR/IcnNetChinamobile.c | |
140 cfile_str2ind $SRCDIR/IcnNetFareast.c | |
141 cfile_str2ind $SRCDIR/IcnNetorange.c | |
142 cfile_str2ind $SRCDIR/IcnNetSFR.c | |
143 cfile_str2ind $SRCDIR/IcnNetsonofon.c | |
144 cfile_str2ind $SRCDIR/IcnNetTMobile.c | |
145 cfile_str2ind $SRCDIR/IcnNetVodafone.c | |
146 cfile_str2ind $SRCDIR/IcnNetVodafoneD2.c | |
147 cfile_str2ind $SRCDIR/IcnPopupBgd.c | |
148 cfile_str2ind $SRCDIR/IcnSignal.c | |
149 cfile_str2ind $SRCDIR/IcnVoicemail.c |