annotate components/dti @ 333:8a90038c0173

FCHG: store discharge state as threshold index rather than percentage
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 14 Dec 2017 18:35:16 +0000
parents 2c61607bb3e3
children ad7f986afae3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
171
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building dti.lib from the TCS3.2 source
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-me -mt -o -pw2 -x -mw"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 CPPFLAGS=
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 make_version dti
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 cfile_plain dti_version.c
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 # Defines
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 CPPFLAGS=-DCCDTABLES_EXTERN
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 CPPFLAGS="$CPPFLAGS -D_TARGET_"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -DALR"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -D_TMS470"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -DUART"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -DFF_ATI"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -DNWARN"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 if [ "$MMI" = 0 ]
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 then
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 CPPFLAGS="$CPPFLAGS -DACI"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 elif [ "$MMI" = 2 ]
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 then
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -DMFW"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 fi
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="$CPPFLAGS -DDTI2"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 if [ "$GPRS" = 1 ]
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 then
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 CPPFLAGS="$CPPFLAGS -DGPRS"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 fi
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 # Includes
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 SRCDIR=$SRC/g23m-aci/dti
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 CPPFLAGS="$CPPFLAGS -I$SRCDIR"
172
2c61607bb3e3 build system: pass ACI version for headers to the component recipes
Mychaela Falconia <falcon@freecalypso.org>
parents: 171
diff changeset
54 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_dti_mng"
171
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 CPPFLAGS="$CPPFLAGS -I.."
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 CPPFLAGS="$CPPFLAGS -I../config"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 # Source modules
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 cfile_str2ind $SRCDIR/dti_kerf.c
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 cfile_str2ind $SRCDIR/dti_kerp.c
a8efe285e7fa dti.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 cfile_str2ind $SRCDIR/dti_int.c