annotate components/alr-tcs3 @ 193:4cb2e85d9d6a

src/g23m-gprs/llc/llc_{itxp,uitxp}.c: compilation fixes for !REL99
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Oct 2016 23:09:26 +0000
parents 2a5d2c78e5d4
children 30203d5aeb74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
112
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building alr.lib from the TCS3.2 ALR source
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-me -mt -o -pw2 -x -mw"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 CPPFLAGS=
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 make_version alr
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 cfile_plain alr_version.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 # Defines
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 CPPFLAGS=-DCCDTABLES_EXTERN
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 CPPFLAGS="$CPPFLAGS -D_TARGET_"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -DALR"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -D_TMS470"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -DUART"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -DFF_ATI"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 if [ "$SRVC" != 0 ]
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 then
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 if [ "$SRVC" = 1 ]
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 then
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -DFF_FAX"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 fi
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 fi
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 if [ "$MMI" = 0 ]
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 then
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 CPPFLAGS="$CPPFLAGS -DACI"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 elif [ "$MMI" = 2 ]
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 then
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 CPPFLAGS="$CPPFLAGS -DMFW"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 fi
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 if [ "$GPRS" = 1 ]
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 then
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 CPPFLAGS="$CPPFLAGS -DGPRS"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 fi
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 CPPFLAGS="$CPPFLAGS -DHAS_FLASH_EPROM"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 CPPFLAGS="$CPPFLAGS -DFF_MULTIBAND"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 CPPFLAGS="$CPPFLAGS -DALR=1"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 CPPFLAGS="$CPPFLAGS -DCHIPSET=10"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 CPPFLAGS="$CPPFLAGS -DNWARN"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 # Includes
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 SRCDIR=$SRC/g23m-gsm/alr
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 CPPFLAGS="$CPPFLAGS -I$SRCDIR"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 CPPFLAGS="$CPPFLAGS -I.."
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 CPPFLAGS="$CPPFLAGS -I../config"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 # Source modules
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 cfile_str2ind $SRCDIR/alr_cs.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 cfile_str2ind $SRCDIR/alr_csf.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 cfile_str2ind $SRCDIR/alr_main.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 cfile_str2ind $SRCDIR/alr_nc.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 cfile_str2ind $SRCDIR/alr_pch.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102 cfile_str2ind $SRCDIR/alr_pei.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 cfile_str2ind $SRCDIR/alr_rach.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 cfile_str2ind $SRCDIR/alr_sc.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 cfile_str2ind $SRCDIR/alr_dedi.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 cfile_str2ind $SRCDIR/alr_mmi.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 cfile_str2ind $SRCDIR/alr_cbch.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 cfile_str2ind $SRCDIR/alr_trc.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 cfile_str2ind $SRCDIR/alr_tim.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 cfile_str2ind $SRCDIR/alr_em.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 if [ "$GPRS" = 1 ]
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113 then
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
114 cfile_str2ind $SRCDIR/alr_gprs.c
2a5d2c78e5d4 components/alr-tcs3: does NOT compile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
115 fi