200
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building comlib.lib for the TCS2/TCS3 hybrid configuration
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-me -mt -o -pw2 -x -mw"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 # Defines
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 CPPFLAGS=-DCCDTABLES_EXTERN
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 CPPFLAGS="$CPPFLAGS -D_TARGET_"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -DALR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 CPPFLAGS="$CPPFLAGS -D_TMS470"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 CPPFLAGS="$CPPFLAGS -DUART"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CPPFLAGS="$CPPFLAGS -DFF_ATI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CPPFLAGS="$CPPFLAGS -DCL_IMEI_CALYPSO_PLATFORM"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 # Includes
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 CPPFLAGS="$CPPFLAGS -I.."
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 CPPFLAGS="$CPPFLAGS -I../config"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 # Source modules
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 SRCDIR=$SRC/condat2/com/src/comlib
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 if [ "$SRVC" != 0 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 cfile_str2ind $SRCDIR/cl_ribu.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 cfile_str2ind $SRCDIR/cl_md5.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 cfile_str2ind $SRCDIR/cl_imei.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 cfile_str2ind $SRCDIR/cl_des.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 cfile_str2ind $SRCDIR/cl_shrd.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 cfile_str2ind $SRCDIR/cl_list.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 SRCDIR=$SRC/condat3/com/src/comlib
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 cfile_str2ind $SRCDIR/cl_rlcmac.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 fi
|