annotate components/aci @ 107:b882091ebb68

gprscomp.c: DMEM_PARTITION_1_SIZE bumped from 1600 to 1700 for gcc These large DMEM partitions are used for T_CCD_Globs structure allocations by the GRLC and GRR entities, and this structure contains a jmp_buf for setjmp/longjmp. Our gcc/newlib version of jmp_buf is bigger than TI's TMS470, and the whole structure is now 1636 bytes instead of 1584.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 23 Jul 2018 19:45:50 +0000
parents 5c4db73d289a
children 5f3544fc0308
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building the TCS3.2 version of aci.lib
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-me -mt -o -pw2 -x -mw"
103
1155be085fc1 components/*: added -g to CFLAGS_gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 50
diff changeset
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 CPPFLAGS=
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 make_version aci
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
8 c_file aci_version.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 # Defines
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 CPPFLAGS=-DCCDTABLES_EXTERN
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 CPPFLAGS="$CPPFLAGS -D_TARGET_"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 CPPFLAGS="$CPPFLAGS -DALR"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -D_TMS470"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -DUART"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -DFF_ATI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -DNWARN"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 CPPFLAGS="$CPPFLAGS -DVOCODER_FUNC_INTERFACE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 if [ "$SRVC" != 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 if [ "$SRVC" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="$CPPFLAGS -DFF_FAX"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 if [ "$MMI" = 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 CPPFLAGS="$CPPFLAGS -DACI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 elif [ "$MMI" = 2 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 CPPFLAGS="$CPPFLAGS -DMFW"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 if [ "$GPRS" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 CPPFLAGS="$CPPFLAGS -DGPRS"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 CPPFLAGS="$CPPFLAGS -DDTI2"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 CPPFLAGS="$CPPFLAGS -DDTI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 CPPFLAGS="$CPPFLAGS -DUART"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 CPPFLAGS="$CPPFLAGS -DFF_ATI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 CPPFLAGS="$CPPFLAGS -DBOARD=41"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 # FreeCalypso additions to make the TCS3.2 version
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 # behave more like TCS211
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_CMD_WS46"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_ATR"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_CPRSM"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_CSCN"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_CUSDR"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_CUST"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_DBGINFO"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_RDLB"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_SECP"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_SECS"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_STDR"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 CPPFLAGS="$CPPFLAGS -DTI_PS_FF_CONC_SMS"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 if [ "$ALLOW_CSIM_GSM" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 CPPFLAGS="$CPPFLAGS -DALLOW_CSIM_GSM"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89
105
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
90 if [ "$MEMSUPER" != 0 ]
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
91 then
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
92 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
93 fi
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
94
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 # Includes
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
97 CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
98 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
99 CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/include"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
100 CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/cdginc"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101
28
661c54fd40af components/aci: no UI code in Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
102 #if [ "$MMI" = 2 ]
661c54fd40af components/aci: no UI code in Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
103 #then
661c54fd40af components/aci: no UI code in Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
104 # CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw"
661c54fd40af components/aci: no UI code in Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
105 #fi
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ksd"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ati_ext"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci_ext"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci_dti_mng"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
112 CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/sap-inline"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113 CPPFLAGS="$CPPFLAGS -I.."
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
114 CPPFLAGS="$CPPFLAGS -I../config"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
115 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
116 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
117 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
118 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
120 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
121 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
122 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
123 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
124 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
125 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
126 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
127 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
128 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
129 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
130 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
131 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
132 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
133 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
134 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
135
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
136 # ACI source modules
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
137
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
138 SRCDIR=$SRC/g23m-aci/aci
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
139
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
140 # ATI stuff
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
141 c_file $SRCDIR/ati_sat.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
142 c_file $SRCDIR/ati_src_sat.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
143 c_file $SRCDIR/ati_pdu.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
144 c_file $SRCDIR/ati_bas.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
145 c_file $SRCDIR/ati_cc.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
146 c_file $SRCDIR/ati_cmd.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
147 c_file $SRCDIR/ati_csc.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
148 c_file $SRCDIR/ati_err.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
149
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
150 if [ "$SRVC" != 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
151 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
152 c_file $SRCDIR/ati_fd.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
153 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
154
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
155 c_file $SRCDIR/ati_io.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
156 c_file $SRCDIR/ati_mm.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
157 c_file $SRCDIR/ati_phb.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
158 c_file $SRCDIR/ati_prs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
159 c_file $SRCDIR/ati_ret.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
160 c_file $SRCDIR/ati_sim.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
161 c_file $SRCDIR/ati_sms.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
162 c_file $SRCDIR/ati_ss.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
163
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
164 if [ "$GPRS" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
165 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
166 c_file $SRCDIR/ati_gprs.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
167 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
168
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
169 c_file $SRCDIR/ati_mmi.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
170 c_file $SRCDIR/ati_em.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
171 c_file $SRCDIR/ati_em_ret.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
172 c_file $SRCDIR/ati_cphs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
173 c_file $SRCDIR/ati_dti.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
174
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
175 c_file $SRCDIR/ati_src_rvt.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
176 c_file $SRCDIR/ati_omcompat.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
177 c_file $SRCDIR/ati_audio.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
178 c_file $SRCDIR/ati_fchg.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
179
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
180 # ACI stuff
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
181 c_file $SRCDIR/aci_aci.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
182 c_file $SRCDIR/aci_mem.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
183 c_file $SRCDIR/aci_csf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
184 c_file $SRCDIR/aci_pei.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
185 c_file $SRCDIR/aci_tim.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
186 c_file $SRCDIR/aci_util.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
187 c_file $SRCDIR/aci_lst.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
188 c_file $SRCDIR/dti_cntrl_mng.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
189 c_file $SRCDIR/phb.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
190 c_file $SRCDIR/aoc.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
191 c_file $SRCDIR/aci_mfw.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
192 c_file $SRCDIR/aci_slock.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
193 c_file $SRCDIR/aci_em.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
194
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
195 if [ "$GPRS" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
196 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
197 c_file $SRCDIR/gaci_srcc.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
198 c_file $SRCDIR/gaci.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
199 c_file $SRCDIR/gaci_ret.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
200 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
201
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
202 c_file $SRCDIR/hl_audio_drv.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
203
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
204 # ATISRC stuff
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
205 c_file $SRCDIR/ati_src_uart.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
206 c_file $SRCDIR/ati_src_uart_io.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
207
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
208 # CMH stuff (part 1)
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
209 c_file $SRCDIR/cmh_sats.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
210 c_file $SRCDIR/cmh_satr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
211 c_file $SRCDIR/cmh_satq.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
212
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
213 # CMH stuff (part 2)
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
214 if [ "$SRVC" = 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
215 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
216 c_file $SRCDIR/cmh_ccf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
217 c_file $SRCDIR/cmh_ccq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
218 c_file $SRCDIR/cmh_ccr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
219 c_file $SRCDIR/cmh_ccs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
220 c_file $SRCDIR/cmh_dmy.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
221 c_file $SRCDIR/cmh_f.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
222 c_file $SRCDIR/cmh_mmf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
223 c_file $SRCDIR/cmh_mmir.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
224 c_file $SRCDIR/cmh_mmis.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
225 c_file $SRCDIR/cmh_mmit.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
226 c_file $SRCDIR/cmh_mmiq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
227 c_file $SRCDIR/cmh_mmq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
228 c_file $SRCDIR/cmh_mmr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
229 c_file $SRCDIR/cmh_mms.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
230 c_file $SRCDIR/cmh_mmt.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
231 c_file $SRCDIR/cmh_phbf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
232 c_file $SRCDIR/cmh_ssq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
233 c_file $SRCDIR/cmh_ssr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
234 c_file $SRCDIR/cmh_sss.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
235 c_file $SRCDIR/cmh_phbq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
236 c_file $SRCDIR/cmh_phbs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
237 c_file $SRCDIR/cmh_phbt.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
238 c_file $SRCDIR/cmh_phbr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
239 c_file $SRCDIR/cmh_simf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
240 c_file $SRCDIR/cmh_simq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
241 c_file $SRCDIR/cmh_simr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
242 c_file $SRCDIR/cmh_sims.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
243 c_file $SRCDIR/cmh_smsf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
244 c_file $SRCDIR/cmh_smsq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
245 c_file $SRCDIR/cmh_smsr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
246 c_file $SRCDIR/cmh_smss.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
247 c_file $SRCDIR/cmh_ssf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
248 c_file $SRCDIR/cmh_tsts.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
249 c_file $SRCDIR/cmh_uartf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
250 c_file $SRCDIR/cmh_uartr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
251 c_file $SRCDIR/cmh_uarts.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
252 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
253
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
254 c_file $SRCDIR/cmh_emq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
255 c_file $SRCDIR/cmh_emr.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
256
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
257 # CMH stuff (part 3)
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
258 if [ "$SRVC" != 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
259 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
260 c_file $SRCDIR/cmh_ccf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
261 c_file $SRCDIR/cmh_ccq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
262 c_file $SRCDIR/cmh_ccr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
263 c_file $SRCDIR/cmh_ccs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
264 c_file $SRCDIR/cmh_dmy.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
265 c_file $SRCDIR/cmh_f.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
266 c_file $SRCDIR/cmh_l2rf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
267 c_file $SRCDIR/cmh_l2rq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
268 c_file $SRCDIR/cmh_l2rr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
269 c_file $SRCDIR/cmh_l2rs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
270 c_file $SRCDIR/cmh_mmf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
271 c_file $SRCDIR/cmh_mmir.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
272 c_file $SRCDIR/cmh_mmis.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
273 c_file $SRCDIR/cmh_mmit.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
274 c_file $SRCDIR/cmh_mmiq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
275 c_file $SRCDIR/cmh_mmq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
276 c_file $SRCDIR/cmh_mmr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
277 c_file $SRCDIR/cmh_mms.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
278 c_file $SRCDIR/cmh_mmt.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
279 c_file $SRCDIR/cmh_phbf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
280 c_file $SRCDIR/cmh_phbq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
281 c_file $SRCDIR/cmh_ssq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
282 c_file $SRCDIR/cmh_ssr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
283 c_file $SRCDIR/cmh_sss.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
284 c_file $SRCDIR/cmh_phbs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
285 c_file $SRCDIR/cmh_phbt.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
286 c_file $SRCDIR/cmh_phbr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
287 c_file $SRCDIR/cmh_raf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
288 c_file $SRCDIR/cmh_rar.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
289 c_file $SRCDIR/cmh_ras.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
290 c_file $SRCDIR/cmh_simf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
291 c_file $SRCDIR/cmh_simq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
292 c_file $SRCDIR/cmh_simr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
293 c_file $SRCDIR/cmh_sims.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
294 c_file $SRCDIR/cmh_smsf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
295 c_file $SRCDIR/cmh_smsq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
296 c_file $SRCDIR/cmh_smsr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
297 c_file $SRCDIR/cmh_smss.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
298 c_file $SRCDIR/cmh_ssf.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
299
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
300 if [ "$SRVC" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
301 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
302 c_file $SRCDIR/cmh_t30f.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
303 c_file $SRCDIR/cmh_t30r.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
304 c_file $SRCDIR/cmh_t30s.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
305 c_file $SRCDIR/cmh_t30q.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
306 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
307
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
308 c_file $SRCDIR/cmh_tsts.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
309 c_file $SRCDIR/cmh_uartf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
310 c_file $SRCDIR/cmh_uartr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
311 c_file $SRCDIR/cmh_uarts.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
312 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
313
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
314 # CMH stuff (part 4)
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
315 # all WAP/TCPIP/SATE stuff - not in FreeCalypso
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
316
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
317 # CMH stuff (part 5)
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
318 if [ "$GPRS" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
319 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
320 c_file $SRCDIR/cmh_gmmf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
321 c_file $SRCDIR/cmh_gmmq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
322 c_file $SRCDIR/cmh_gmmr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
323 c_file $SRCDIR/cmh_gmms.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
324 c_file $SRCDIR/cmh_gpppf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
325 c_file $SRCDIR/cmh_gpppr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
326 c_file $SRCDIR/cmh_gppps.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
327 c_file $SRCDIR/cmh_snds.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
328 c_file $SRCDIR/cmh_sndr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
329 c_file $SRCDIR/cmh_smf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
330 c_file $SRCDIR/cmh_smq.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
331 c_file $SRCDIR/cmh_smr.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
332 c_file $SRCDIR/cmh_sms.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
333 c_file $SRCDIR/cmh_smt.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
334 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
335
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
336 # CMH stuff (part 6)
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
337 c_file $SRCDIR/cmh_cphs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
338 c_file $SRCDIR/cmh_dti.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
339
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
340 # PSA stuff
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
341 c_file $SRCDIR/psa_satf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
342 c_file $SRCDIR/psa_satp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
343 c_file $SRCDIR/psa_sats.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
344 c_file $SRCDIR/cmh_satf.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
345
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
346 c_file $SRCDIR/psa_ccf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
347 c_file $SRCDIR/psa_ccp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
348 c_file $SRCDIR/psa_ccs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
349 c_file $SRCDIR/psa_f.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
350
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
351 if [ "$SRVC" != 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
352 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
353 c_file $SRCDIR/psa_l2rf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
354 c_file $SRCDIR/psa_l2rp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
355 c_file $SRCDIR/psa_l2rs.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
356 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
357
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
358 c_file $SRCDIR/psa_mmf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
359 c_file $SRCDIR/psa_mmif.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
360 c_file $SRCDIR/psa_mmip.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
361 c_file $SRCDIR/psa_mmis.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
362 c_file $SRCDIR/psa_mmp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
363 c_file $SRCDIR/psa_mms.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
364
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
365 if [ "$SRVC" != 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
366 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
367 c_file $SRCDIR/psa_raf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
368 c_file $SRCDIR/psa_rap.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
369 c_file $SRCDIR/psa_ras.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
370 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
371
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
372 c_file $SRCDIR/psa_simf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
373 c_file $SRCDIR/psa_simp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
374 c_file $SRCDIR/psa_sims.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
375 c_file $SRCDIR/psa_smsf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
376 c_file $SRCDIR/psa_smsp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
377 c_file $SRCDIR/psa_smss.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
378 c_file $SRCDIR/psa_ssf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
379 c_file $SRCDIR/psa_ssp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
380 c_file $SRCDIR/psa_sss.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
381
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
382 if [ "$SRVC" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
383 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
384 c_file $SRCDIR/psa_t30f.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
385 c_file $SRCDIR/psa_t30p.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
386 c_file $SRCDIR/psa_t30s.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
387 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
388
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
389 c_file $SRCDIR/psa_util.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
390 c_file $SRCDIR/psa_uartp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
391 c_file $SRCDIR/psa_uarts.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
392
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
393 if [ "$SRVC" != 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
394 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
395 c_file $SRCDIR/psa_tras.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
396 c_file $SRCDIR/psa_trap.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
397 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
398
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
399 c_file $SRCDIR/psa_mtst.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
400
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
401 if [ "$GPRS" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
402 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
403 c_file $SRCDIR/psa_gmmf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
404 c_file $SRCDIR/psa_gmmp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
405 c_file $SRCDIR/psa_gmms.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
406 c_file $SRCDIR/psa_gpppf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
407 c_file $SRCDIR/psa_gpppp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
408 c_file $SRCDIR/psa_gppps.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
409 c_file $SRCDIR/psa_sndp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
410 c_file $SRCDIR/psa_snds.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
411 c_file $SRCDIR/psa_smf.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
412 c_file $SRCDIR/psa_smp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
413 c_file $SRCDIR/psa_sms.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
414 c_file $SRCDIR/psa_upmp.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
415 c_file $SRCDIR/psa_upms.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
416 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
417
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
418 # miscellaneous stuff
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
419 c_file $SRCDIR/sap_dti.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
420
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
421 if [ "$GPRS" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
422 then
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
423 c_file $SRCDIR/sap_ppp.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
424 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
425
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
426 c_file $SRCDIR/sap_em.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
427 c_file $SRCDIR/conc_sms.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
428 c_file $SRCDIR/cphs.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
429 c_file $SRCDIR/cphs_aci.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
430 c_file $SRCDIR/line_edit.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
431 c_file $SRCDIR/line_split.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
432 c_file $SRCDIR/dcm_f.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
433
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
434 # KSD sourceset, new defines
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
435
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
436 CPPFLAGS=-DCCDTABLES_EXTERN
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
437 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
438 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
439 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
440 CPPFLAGS="$CPPFLAGS -D_TARGET_"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
441 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
442 CPPFLAGS="$CPPFLAGS -DALR"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
443 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
444 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
445 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
446 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
447 CPPFLAGS="$CPPFLAGS -D_TMS470"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
448 CPPFLAGS="$CPPFLAGS -DUART"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
449 CPPFLAGS="$CPPFLAGS -DFF_ATI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
450 CPPFLAGS="$CPPFLAGS -DNWARN"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
451 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
452 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
453 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
454
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
455 if [ "$SRVC" != 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
456 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
457 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
458 if [ "$SRVC" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
459 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
460 CPPFLAGS="$CPPFLAGS -DFF_FAX"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
461 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
462 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
463 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
464
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
465 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
466 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
467
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
468 if [ "$MMI" = 0 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
469 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
470 CPPFLAGS="$CPPFLAGS -DACI"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
471 elif [ "$MMI" = 2 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
472 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
473 CPPFLAGS="$CPPFLAGS -DMFW"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
474 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
475
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
476 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
477
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
478 if [ "$GPRS" = 1 ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
479 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
480 CPPFLAGS="$CPPFLAGS -DGPRS"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
481 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
482
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
483 CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
484 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
485 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
486 CPPFLAGS="$CPPFLAGS -DBOARD=41"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
487
105
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
488 if [ "$MEMSUPER" != 0 ]
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
489 then
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
490 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
491 fi
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
492
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
493 # New includes
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
494
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
495 CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
496 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
497 CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/include"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
498 CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/cdginc"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
499 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
500 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ksd"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
501 CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/sap-inline"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
502
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
503 # KSD source modules
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
504
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
505 SRCDIR=$SRC/g23m-aci/ksd
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
506
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
507 c_file $SRCDIR/ksd.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
508 c_file $SRCDIR/ksd_utl.c