comparison components/uart_b_lib @ 173:bf64d785238a

uart_b_lib.lib compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2016 05:06:44 +0000
parents
children ad7f986afae3
comparison
equal deleted inserted replaced
172:2c61607bb3e3 173:bf64d785238a
1 # Building uart_b_lib.lib from the TCS3.2 source
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 -DNWARN"
22 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
23 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
24 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
25
26 if [ "$SRVC" != 0 ]
27 then
28 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
29 if [ "$SRVC" = 1 ]
30 then
31 CPPFLAGS="$CPPFLAGS -DFF_FAX"
32 fi
33 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
34 fi
35
36 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
37 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
38
39 if [ "$MMI" = 0 ]
40 then
41 CPPFLAGS="$CPPFLAGS -DACI"
42 elif [ "$MMI" = 2 ]
43 then
44 CPPFLAGS="$CPPFLAGS -DMFW"
45 fi
46
47 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
48
49 if [ "$GPRS" = 1 ]
50 then
51 CPPFLAGS="$CPPFLAGS -DGPRS"
52 fi
53
54 CPPFLAGS="$CPPFLAGS -DDTI2"
55 CPPFLAGS="$CPPFLAGS -DDTILIB"
56
57 # Includes
58
59 SRCDIR=$SRC/g23m-aci/uart
60
61 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
62 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
63 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
64 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
65 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
66 CPPFLAGS="$CPPFLAGS -I$SRCDIR"
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
68 CPPFLAGS="$CPPFLAGS -I.."
69 CPPFLAGS="$CPPFLAGS -I../config"
70 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
71 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
90
91 # Source modules
92
93 cfile_str2ind $SRCDIR/uart_kerf.c
94 cfile_str2ind $SRCDIR/uart_kerp.c
95 cfile_str2ind $SRCDIR/uart_kers.c
96 cfile_str2ind $SRCDIR/uart_drxf.c
97 cfile_str2ind $SRCDIR/uart_drxp.c
98 cfile_str2ind $SRCDIR/uart_drxs.c
99 cfile_str2ind $SRCDIR/uart_dtxf.c
100 cfile_str2ind $SRCDIR/uart_dtxp.c
101 cfile_str2ind $SRCDIR/uart_dtxs.c
102 cfile_str2ind $SRCDIR/uart_rxf.c
103 cfile_str2ind $SRCDIR/uart_rxp.c
104 cfile_str2ind $SRCDIR/uart_rxs.c
105 cfile_str2ind $SRCDIR/uart_txf.c
106 cfile_str2ind $SRCDIR/uart_txp.c
107 cfile_str2ind $SRCDIR/uart_txs.c
108 cfile_str2ind $SRCDIR/uart_rtf.c
109 cfile_str2ind $SRCDIR/uart_rtp.c
110 cfile_str2ind $SRCDIR/uart_rts.c
111 cfile_str2ind $SRCDIR/uart_pei.c