comparison components/config_gsm_fl @ 22:7ded024bf471

components: pruned import from Magnetite renamed as desired for Tourmaline
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 16:29:07 +0000
parents
children fdc83c1ab3ff
comparison
equal deleted inserted replaced
21:1edc7293e433 22:7ded024bf471
1 # Building config_gsm_fl.lib
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 -DAT_INTERPRETER"
24 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
25
26 if [ "$SRVC" != 0 ]
27 then
28 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
29 if [ "$SRVC" = 1 ]
30 then
31 CPPFLAGS="$CPPFLAGS -DFF_FAX"
32 fi
33 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
34 fi
35
36 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
37 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
38
39 if [ "$MMI" = 0 ]
40 then
41 CPPFLAGS="$CPPFLAGS -DACI"
42 elif [ "$MMI" = 2 ]
43 then
44 CPPFLAGS="$CPPFLAGS -DMFW"
45 fi
46
47 CPPFLAGS="$CPPFLAGS -DCONFIG_MODULE"
48 CPPFLAGS="$CPPFLAGS -DNU_DEBUG"
49 CPPFLAGS="$CPPFLAGS -DPRIM_0_INT_RAM"
50 CPPFLAGS="$CPPFLAGS -DPRIM_1_INT_RAM"
51 CPPFLAGS="$CPPFLAGS -DPRIM_2_INT_RAM"
52 CPPFLAGS="$CPPFLAGS -DPRIM_3_INT_RAM"
53 CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
54 CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
55 CPPFLAGS="$CPPFLAGS -DTEST_0_INT_RAM"
56 CPPFLAGS="$CPPFLAGS -DTEST_1_INT_RAM"
57 CPPFLAGS="$CPPFLAGS -DTEST_2_INT_RAM"
58 CPPFLAGS="$CPPFLAGS -DDMEM_0_INT_RAM"
59 CPPFLAGS="$CPPFLAGS -DBOARD=41"
60 CPPFLAGS="$CPPFLAGS -DCTRACE"
61 CPPFLAGS="$CPPFLAGS -DDATA_EXT_RAM"
62
63 # Includes
64
65 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
66 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
67 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
68 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
69 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
70 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
71 CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/src/config"
72 CPPFLAGS="$CPPFLAGS -I.."
73 CPPFLAGS="$CPPFLAGS -I../config"
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
94
95 # Source modules
96
97 SRCDIR=$SRC/condat2/com/src/config
98
99 cfile_str2ind $SRCDIR/gsmcomp.c
100 cfile_str2ind $SRCDIR/custcomp.c
101 cfile_str2ind $SRCDIR/gsminit.c
102 cfile_str2ind $SRCDIR/gsmdrv.c