comparison components/uart_b_lib @ 10:a8f9cc376e98

components: pruned import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 21:19:43 +0000
parents
children 0a1a78944683
comparison
equal deleted inserted replaced
9:6da1d56a96a3 10:a8f9cc376e98
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 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
57 CPPFLAGS="$CPPFLAGS -DBOARD=41"
58
59 # Includes
60
61 SRCDIR=$SRC/g23m-aci/uart
62
63 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
64 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
65 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
66 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
67 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
68 CPPFLAGS="$CPPFLAGS -I$SRCDIR"
69 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
70 CPPFLAGS="$CPPFLAGS -I.."
71 CPPFLAGS="$CPPFLAGS -I../config"
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
92
93 # Source modules
94
95 cfile_str2ind $SRCDIR/uart_kerf.c
96 cfile_str2ind $SRCDIR/uart_kerp.c
97 cfile_str2ind $SRCDIR/uart_kers.c
98 cfile_str2ind $SRCDIR/uart_drxf.c
99 cfile_str2ind $SRCDIR/uart_drxp.c
100 cfile_str2ind $SRCDIR/uart_drxs.c
101 cfile_str2ind $SRCDIR/uart_dtxf.c
102 cfile_str2ind $SRCDIR/uart_dtxp.c
103 cfile_str2ind $SRCDIR/uart_dtxs.c
104 cfile_str2ind $SRCDIR/uart_rxf.c
105 cfile_str2ind $SRCDIR/uart_rxp.c
106 cfile_str2ind $SRCDIR/uart_rxs.c
107 cfile_str2ind $SRCDIR/uart_txf.c
108 cfile_str2ind $SRCDIR/uart_txp.c
109 cfile_str2ind $SRCDIR/uart_txs.c
110 cfile_str2ind $SRCDIR/uart_rtf.c
111 cfile_str2ind $SRCDIR/uart_rtp.c
112 cfile_str2ind $SRCDIR/uart_rts.c
113 cfile_str2ind $SRCDIR/uart_pei.c