comparison components/config_gprs_ir @ 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 config_gprs_ir.lib for the TCS2/TCS3 hybrid configuration
2
3 CFLAGS="-me -mt -o -pw2 -x -mw"
4
5 # Defines
6
7 CPPFLAGS=-DCCDTABLES_EXTERN
8 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
9 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
10 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
11 CPPFLAGS="$CPPFLAGS -D_TARGET_"
12 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
13 CPPFLAGS="$CPPFLAGS -DALR"
14 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
15 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
16 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
17 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
18 CPPFLAGS="$CPPFLAGS -D_TMS470"
19 CPPFLAGS="$CPPFLAGS -DUART"
20 CPPFLAGS="$CPPFLAGS -DFF_ATI"
21 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
22 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
23 CPPFLAGS="$CPPFLAGS -DGPRS"
24 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
25 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
26
27 if [ "$SRVC" != 0 ]
28 then
29 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
30 if [ "$SRVC" = 1 ]
31 then
32 CPPFLAGS="$CPPFLAGS -DFF_FAX"
33 fi
34 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
35 fi
36
37 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
38 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
39
40 if [ "$MMI" = 0 ]
41 then
42 CPPFLAGS="$CPPFLAGS -DACI"
43 elif [ "$MMI" = 2 ]
44 then
45 CPPFLAGS="$CPPFLAGS -DMFW"
46 fi
47
48 CPPFLAGS="$CPPFLAGS -DCONFIG_MODULE"
49 CPPFLAGS="$CPPFLAGS -DNU_DEBUG"
50 CPPFLAGS="$CPPFLAGS -DPRIM_0_INT_RAM"
51 CPPFLAGS="$CPPFLAGS -DPRIM_1_INT_RAM"
52 CPPFLAGS="$CPPFLAGS -DPRIM_2_INT_RAM"
53 CPPFLAGS="$CPPFLAGS -DPRIM_3_INT_RAM"
54 CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
55 CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
56 CPPFLAGS="$CPPFLAGS -DBOARD=41"
57 CPPFLAGS="$CPPFLAGS -DCTRACE"
58 CPPFLAGS="$CPPFLAGS -DDATA_INT_RAM"
59 CPPFLAGS="$CPPFLAGS -DFF_UPM"
60
61 # Includes
62
63 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
64 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
65 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
66 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
67 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
68 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
69 CPPFLAGS="$CPPFLAGS -I$SRC/condat2/frame/config"
70 CPPFLAGS="$CPPFLAGS -I.."
71 CPPFLAGS="$CPPFLAGS -I../config"
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
92
93 # Source modules
94
95 SRCDIR=$SRC/condat2/frame/config
96
97 cfile_str2ind $SRCDIR/gprscomp.c