comparison components/r2d_drv_int_ram @ 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_int_ram.lib
2
3 CFLAGS="-mn -mf -o2 -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
34 # Source modules
35
36 SRCDIR=$SRC/cs/drivers/drv_app/r2d
37
38 cfile_plain $SRCDIR/r2d_lcd_geometry.c
39 cfile_plain $SRCDIR/r2d_lcds.c
40 cfile_plain $SRCDIR/r2d_refresh.c
41
42 # New sourceset
43
44 CFLAGS="-mn -mw -me -pw2"
45 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
46
47 # Includes
48
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
51 CPPFLAGS="$CPPFLAGS -I.."
52 CPPFLAGS="$CPPFLAGS -I../config"
53 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
54 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
55 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
56 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
57 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
58 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
59 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
62 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
63 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
64 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
65 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
68 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
69 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
70 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
71 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
74
75 # Source modules
76
77 cfile_plain $SRCDIR/lcds/r2d_geometry_no2_lcd_i.c
78
79 # TCS211 build system includes 3 assembly modules at this point,
80 # but we are omitting them because they are disabled by the
81 # R2D_ASM=0 setting in the very same TCS211 reference version,
82 # i.e., they assemble to empty objects.