FreeCalypso > hg > fc-magnetite
annotate components/mfw @ 549:69e52afc01d5
configs/* except classic: rebuild tif_na7_db_{fl,ir} from source
The purpose of this change is to allow a TRACEMASK_IN_FFS=1 setting given
on the configure line to have effect; all configs except classic are
included because this feature setting is orthogonal to the choice of
G23M PS version and other config choices. (The classic config is an
exception because its very purpose is to preserve a reference config
with all of the original blobs.)
Note that even though we are switching these TIF libraries from blobs
to recompilation from source in all configs, our source for these libs
compiles into a perfect match to the original blobs in the current default
TRACEMASK_IN_FFS=0 configuration, hence there is no effective change
beyond the unfortunate small increase in compilation times.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 18 Nov 2018 08:33:30 +0000 |
| parents | 4d7c2ccb5814 |
| children |
| rev | line source |
|---|---|
| 126 | 1 # Building mfw.lib from TCS211 source |
| 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:
419
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" | |
| 82 | |
| 83 # Includes | |
| 84 | |
| 85 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
| 86 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
| 87 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
| 88 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
|
89 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
|
90 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd" |
| 126 | 91 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/atb" |
| 92 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
|
93 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
|
94 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_dti_mng" |
| 126 | 95 CPPFLAGS="$CPPFLAGS -I.." |
| 96 CPPFLAGS="$CPPFLAGS -I../config" | |
| 97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
| 98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
| 99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
| 100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
| 101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
| 102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
| 103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
| 104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
| 105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
| 106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
| 107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
| 108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
| 109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
| 110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
| 111 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
| 112 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
| 113 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
| 114 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
| 115 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
| 116 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
| 117 | |
| 118 # MFW source modules | |
| 119 | |
| 120 SRCDIR=$SRC/aci2/mfw | |
| 121 | |
| 122 cfile_str2ind $SRCDIR/ti1_key.c | |
| 123 cfile_str2ind $SRCDIR/ti1_tmr.c | |
| 124 cfile_str2ind $SRCDIR/mfw_mfw.c | |
| 125 cfile_str2ind $SRCDIR/mfw_win.c | |
| 126 cfile_str2ind $SRCDIR/mfw_kbd.c | |
| 127 cfile_str2ind $SRCDIR/mfw_tim.c | |
| 128 cfile_str2ind $SRCDIR/mfw_mnu.c | |
| 129 cfile_str2ind $SRCDIR/mfw_icn.c | |
| 130 cfile_str2ind $SRCDIR/mfw_ext.c | |
| 131 cfile_str2ind $SRCDIR/mfw_cm.c | |
| 132 cfile_str2ind $SRCDIR/mfw_ss.c | |
| 133 cfile_str2ind $SRCDIR/mfw_nm.c | |
| 134 cfile_str2ind $SRCDIR/mfw_nma.c | |
| 135 cfile_str2ind $SRCDIR/mfw_sim.c | |
| 136 cfile_str2ind $SRCDIR/mfw_sima.c | |
| 137 cfile_str2ind $SRCDIR/mfw_sms.c | |
| 138 cfile_str2ind $SRCDIR/mfw_phb.c | |
| 139 cfile_str2ind $SRCDIR/mfw_mme.c | |
| 140 cfile_str2ind $SRCDIR/mfw_cb.c | |
| 141 cfile_str2ind $SRCDIR/mfw_acie.c | |
| 142 cfile_str2ind $SRCDIR/mfw_sat.c | |
| 143 cfile_str2ind $SRCDIR/mfw_lng.c | |
| 144 cfile_str2ind $SRCDIR/mfw_cnvt.c | |
| 145 cfile_str2ind $SRCDIR/mfw_cphs.c | |
| 146 cfile_str2ind $SRCDIR/mfw_str.c | |
| 147 cfile_str2ind $SRCDIR/mfw_ffs.c | |
| 148 | |
| 149 if [ "$GPRS" = 1 ] | |
| 150 then | |
| 151 cfile_str2ind $SRCDIR/mfw_gprs.c | |
| 152 fi | |
| 153 | |
| 154 cfile_str2ind $SRCDIR/mfw_band.c | |
| 155 cfile_str2ind $SRCDIR/mfw_em.c | |
| 156 cfile_str2ind $SRCDIR/mfw_utils.c | |
| 157 cfile_str2ind $SRCDIR/mfw_aud.c | |
| 158 cfile_str2ind $SRCDIR/mfw_td.c | |
| 159 | |
| 160 # ATB source modules | |
| 161 | |
| 162 SRCDIR=$SRC/aci2/atb | |
| 163 | |
| 164 cfile_str2ind $SRCDIR/ATBCommon.c | |
| 165 cfile_str2ind $SRCDIR/ATBDisplay.c | |
| 166 cfile_str2ind $SRCDIR/ATBEditor.c | |
| 167 cfile_str2ind $SRCDIR/ATBPb.c | |
| 168 cfile_str2ind $SRCDIR/ATBPbFS.c | |
| 169 cfile_str2ind $SRCDIR/ATBPbGI.c |
