comparison components/r2d_drv_flash @ 22:7ded024bf471

components: pruned import from Magnetite renamed as desired for Tourmaline
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 16:29:07 +0000
parents
children fdc83c1ab3ff
comparison
equal deleted inserted replaced
21:1edc7293e433 22:7ded024bf471
1 # Building r2d_drv_flash.lib
2
3 CFLAGS="-mn -mt -mf -o2 -x -mw -me -pw2"
4 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
5
6 # Includes
7
8 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
9 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
10 CPPFLAGS="$CPPFLAGS -I.."
11 CPPFLAGS="$CPPFLAGS -I../config"
12 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
13 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
14 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
15 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
16 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
17 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
18 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
19 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
42
43 # Source modules
44
45 SRCDIR=$SRC/cs/drivers/drv_app/r2d
46
47 cfile_plain $SRCDIR/r2d.c
48 cfile_plain $SRCDIR/r2d_env.c
49 cfile_plain $SRCDIR/r2d_i.c
50 cfile_plain $SRCDIR/r2d_inits.c
51 cfile_plain $SRCDIR/r2d_task.c
52
53 # New sourceset
54
55 CFLAGS="-mn -mt -mw -me -pw2"
56 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
57
58 # Includes
59
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
62 CPPFLAGS="$CPPFLAGS -I.."
63 CPPFLAGS="$CPPFLAGS -I../config"
64 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
65 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
68 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
69 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
70 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
71 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
85
86 # Source modules
87
88 cfile_plain $SRCDIR/lcd_gsm_ps_api.c
89 cfile_plain $SRCDIR/lcd_functions.c
90 cfile_plain $SRCDIR/lcd_messages.c
91 cfile_plain $SRCDIR/lcd_process.c
92
93 # New sourceset
94
95 CFLAGS="-mn -mt -o2 -x -mw -me -pw2"
96 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
97
98 # Includes
99
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
102 CPPFLAGS="$CPPFLAGS -I.."
103 CPPFLAGS="$CPPFLAGS -I../config"
104 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
105 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
111 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
112 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
113 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
114 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
115 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
116 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
117 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
118 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
119 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
120 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
121 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
122 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
123 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
124 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
125
126 # Source modules
127
128 #cfile_plain $SRCDIR/board/uwire.c
129
130 # FreeCalypso change: TI's TCS211 build always includes uwire.c in the lib,
131 # but we are currently excluding it unconditionally because none of our
132 # supported configurations need it: on the C139 this code is wrong and MUST
133 # be excluded, whereas the D-Sample LCD doesn't use uWire and the code never
134 # gets pulled into the link even if it's included in the lib.
135 #
136 # The code in r2d/board/uwire.c is only needed when targeting the real
137 # C-Sample (not C139 emulation) or earlier TI boards, but our build system
138 # does not currently support those anyway.