comparison components/comlib-hybrid @ 200:876b6c569e36

hybrid comlib build
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Oct 2016 03:51:07 +0000
parents
children
comparison
equal deleted inserted replaced
199:78d46b5cda38 200:876b6c569e36
1 # Building comlib.lib for the TCS2/TCS3 hybrid configuration
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 -DCL_IMEI_CALYPSO_PLATFORM"
22
23 # Includes
24
25 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
26 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
27 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
28 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
29 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
30 CPPFLAGS="$CPPFLAGS -I.."
31 CPPFLAGS="$CPPFLAGS -I../config"
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
52
53 # Source modules
54
55 SRCDIR=$SRC/condat2/com/src/comlib
56
57 if [ "$SRVC" != 0 ]
58 then
59 cfile_str2ind $SRCDIR/cl_ribu.c
60 fi
61
62 cfile_str2ind $SRCDIR/cl_md5.c
63 cfile_str2ind $SRCDIR/cl_imei.c
64 cfile_str2ind $SRCDIR/cl_des.c
65 cfile_str2ind $SRCDIR/cl_shrd.c
66 cfile_str2ind $SRCDIR/cl_list.c
67
68 SRCDIR=$SRC/condat3/com/src/comlib
69
70 if [ "$GPRS" = 1 ]
71 then
72 cfile_str2ind $SRCDIR/cl_rlcmac.c
73 fi