comparison components/drivers_flash @ 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 drivers_flash.lib
2
3 CFLAGS="-me -pw2 -mn -x -mt -o2 -mw"
4 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
5
6 # Includes
7
8 CPPFLAGS="$CPPFLAGS -I../config"
9 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
10 CPPFLAGS="$CPPFLAGS -I.."
11 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
12 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
13 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
14 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
15 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
16 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
17 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
18 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
19 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0"
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0"
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source"
42
43 SRCDIR=$SRC/cs/drivers/drv_core
44
45 # 1st set of source modules
46
47 cfile_plain $SRCDIR/dsp_dwnld/leadapi.c
48 cfile_plain $SRCDIR/inth/niq.c
49 cfile_plain $SRCDIR/uart/uart.c
50 cfile_plain $SRCDIR/inth/inth.c
51 cfile_plain $SRCDIR/timer/timer.c
52 cfile_plain $SRCDIR/timer/timer1.c
53 cfile_plain $SRCDIR/timer/timer2.c
54 cfile_plain $SRCDIR/timer/timer_sec.c
55 cfile_plain $SRCDIR/security/certificate.c
56 cfile_plain $SRCDIR/clkm/clkm.c
57 cfile_plain $SRCDIR/armio/armio.c
58
59 # 2nd set of source modules
60
61 CFLAGS="-me -pw2 -mn -mt"
62
63 cfile_plain $SRCDIR/spi/spi_drv.c
64 cfile_plain $SRCDIR/abb/abb.c
65 cfile_plain $SRCDIR/abb/abb_core_inth.c
66
67 # niq32
68
69 CFLAGS="-me -pw2 -x -o -mw"
70
71 cfile_plain $SRCDIR/inth/niq32.c