FreeCalypso > hg > fc-selenite
comparison components/alr @ 10:a8f9cc376e98
components: pruned import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 21:19:43 +0000 |
parents | |
children | 0a1a78944683 |
comparison
equal
deleted
inserted
replaced
9:6da1d56a96a3 | 10:a8f9cc376e98 |
---|---|
1 # Building alr.lib from the ALR source we got | |
2 # with our copy of TCS211 from Sotovik | |
3 | |
4 CFLAGS="-me -mt -o -pw2 -x -mw" | |
5 CPPFLAGS= | |
6 | |
7 make_version alr | |
8 cfile_plain alr_version.c | |
9 | |
10 # Defines | |
11 | |
12 CPPFLAGS=-DCCDTABLES_EXTERN | |
13 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
14 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
15 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
16 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
17 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
18 CPPFLAGS="$CPPFLAGS -DALR" | |
19 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
21 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
22 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
23 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
24 CPPFLAGS="$CPPFLAGS -DUART" | |
25 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
26 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
27 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" | |
28 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" | |
29 | |
30 if [ "$SRVC" != 0 ] | |
31 then | |
32 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" | |
33 if [ "$SRVC" = 1 ] | |
34 then | |
35 CPPFLAGS="$CPPFLAGS -DFF_FAX" | |
36 fi | |
37 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" | |
38 fi | |
39 | |
40 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" | |
41 CPPFLAGS="$CPPFLAGS -DMMI=$MMI" | |
42 | |
43 if [ "$MMI" = 0 ] | |
44 then | |
45 CPPFLAGS="$CPPFLAGS -DACI" | |
46 elif [ "$MMI" = 2 ] | |
47 then | |
48 CPPFLAGS="$CPPFLAGS -DMFW" | |
49 fi | |
50 | |
51 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
52 | |
53 if [ "$GPRS" = 1 ] | |
54 then | |
55 CPPFLAGS="$CPPFLAGS -DGPRS" | |
56 fi | |
57 | |
58 CPPFLAGS="$CPPFLAGS -DHAS_FLASH_EPROM" | |
59 CPPFLAGS="$CPPFLAGS -DFF_MULTIBAND" | |
60 CPPFLAGS="$CPPFLAGS -DALR=1" | |
61 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" | |
62 CPPFLAGS="$CPPFLAGS -DNWARN" | |
63 | |
64 # Includes | |
65 | |
66 SRCDIR=$SRC/aci2/alr | |
67 | |
68 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
69 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
70 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
71 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
72 CPPFLAGS="$CPPFLAGS -I$SRCDIR" | |
73 CPPFLAGS="$CPPFLAGS -I.." | |
74 CPPFLAGS="$CPPFLAGS -I../config" | |
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
95 | |
96 # Source modules | |
97 | |
98 cfile_str2ind $SRCDIR/alr_cs.c | |
99 cfile_str2ind $SRCDIR/alr_csf.c | |
100 cfile_str2ind $SRCDIR/alr_main.c | |
101 cfile_str2ind $SRCDIR/alr_nc.c | |
102 cfile_str2ind $SRCDIR/alr_pch.c | |
103 cfile_str2ind $SRCDIR/alr_pei.c | |
104 cfile_str2ind $SRCDIR/alr_rach.c | |
105 cfile_str2ind $SRCDIR/alr_sc.c | |
106 cfile_str2ind $SRCDIR/alr_dedi.c | |
107 cfile_str2ind $SRCDIR/alr_mmi.c | |
108 cfile_str2ind $SRCDIR/alr_cbch.c | |
109 cfile_str2ind $SRCDIR/alr_trc.c | |
110 cfile_str2ind $SRCDIR/alr_tim.c | |
111 cfile_str2ind $SRCDIR/alr_em.c | |
112 | |
113 if [ "$GPRS" = 1 ] | |
114 then | |
115 cfile_str2ind $SRCDIR/alr_gprs.c | |
116 fi |