FreeCalypso > hg > fc-selenite
annotate components/comlib @ 184:034c9c90398e
gtm900 build target renamed to gtm900mgc (sync with Magnetite)
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 15 Feb 2020 20:09:38 +0000 |
parents | 5c4db73d289a |
children |
rev | line source |
---|---|
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building comlib.lib |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-me -mt -o -pw2 -x -mw" |
103
1155be085fc1
components/*: added -g to CFLAGS_gcc
Mychaela Falconia <falcon@freecalypso.org>
parents:
50
diff
changeset
|
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 # Defines |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 CPPFLAGS=-DCCDTABLES_EXTERN |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -D_TARGET_" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 CPPFLAGS="$CPPFLAGS -DALR" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 CPPFLAGS="$CPPFLAGS -DFF_CPHS" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 CPPFLAGS="$CPPFLAGS -D_TMS470" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CPPFLAGS="$CPPFLAGS -DUART" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CPPFLAGS="$CPPFLAGS -DFF_ATI" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 CPPFLAGS="$CPPFLAGS -DCL_IMEI_CALYPSO_PLATFORM" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
105
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
24 if [ "$MEMSUPER" != 0 ] |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
25 then |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION" |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
27 fi |
5c4db73d289a
build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
28 |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 # Includes |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
31 CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc" |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
32 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
33 CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/include" |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
34 CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/cdginc" |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
35 CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/sap-inline" |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 CPPFLAGS="$CPPFLAGS -I.." |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 CPPFLAGS="$CPPFLAGS -I../config" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 # Source modules |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 |
26
db9c43a9e218
components: condat2 paths changed to just condat
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
61 SRCDIR=$SRC/condat/com/src/comlib |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 if [ "$SRVC" != 0 ] |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 then |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
65 c_file $SRCDIR/cl_ribu.c |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 fi |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 if [ "$GPRS" = 1 ] |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 then |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
70 c_file $SRCDIR/cl_rlcmac.c |
10
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 fi |
a8f9cc376e98
components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 |
22
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
73 c_file $SRCDIR/cl_md5.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
74 c_file $SRCDIR/cl_imei.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
75 c_file $SRCDIR/cl_des.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
76 c_file $SRCDIR/cl_shrd.c |
0a1a78944683
components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
10
diff
changeset
|
77 c_file $SRCDIR/cl_list.c |