comparison components/bmi @ 119:b92a33c204b6

components/bmi: started
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 07 Oct 2016 03:24:54 +0000
parents
children dd70d4a6388f
comparison
equal deleted inserted replaced
118:9737224b10e1 119:b92a33c204b6
1 # Building bmi.lib from TCS211 source
2
3 CFLAGS="-me -mt -o -pw2 -x -mw"
4 CPPFLAGS=
5
6 make_version bmi
7 cfile_plain bmi_version.c
8
9 # Defines
10
11 CPPFLAGS=-DMMI_HOMEZONE_ENABLED
12 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
13 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
14
15 if [ "$GPRS" = 1 ]
16 then
17 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
18 fi
19
20 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
21 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
22
23 if [ "$TARGET" != c139 ]
24 then
25 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
26 CPPFLAGS="$CPPFLAGS -DLSCREEN"
27 fi
28
29 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
30 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
31 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
32 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
33 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN"
34 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
35 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
36 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
37 CPPFLAGS="$CPPFLAGS -D_TARGET_"
38 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
39 CPPFLAGS="$CPPFLAGS -DALR"
40 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
41 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
42 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
43 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
44 CPPFLAGS="$CPPFLAGS -D_TMS470"
45 CPPFLAGS="$CPPFLAGS -DUART"
46 CPPFLAGS="$CPPFLAGS -DFF_ATI"
47 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
48
49 if [ "$GPRS" = 1 ]
50 then
51 CPPFLAGS="$CPPFLAGS -DGPRS"
52 fi
53
54 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
55 CPPFLAGS="$CPPFLAGS -DMMI=2"
56 CPPFLAGS="$CPPFLAGS -DMFW"
57 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
58 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
59
60 if [ "$SRVC" != 0 ]
61 then
62 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
63 if [ "$SRVC" = 1 ]
64 then
65 CPPFLAGS="$CPPFLAGS -DFF_FAX"
66 fi
67 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
68 fi
69
70 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
71 CPPFLAGS="$CPPFLAGS -DNWARN"
72 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
73
74 # Includes
75
76 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
77 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
78 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
79 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
80 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/bmi"
81 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/mfw"
82 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci"
83 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/ksd"
84 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/atb"
85 CPPFLAGS="$CPPFLAGS -I.."
86 CPPFLAGS="$CPPFLAGS -I../config"
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
107
108 # Source modules
109
110 SRCDIR=$SRC/aci2/bmi
111