comparison components/drivers_flash @ 5:3b367f330821

components: pruned import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 02:20:23 +0000
parents
children 6a05d91d1435
comparison
equal deleted inserted replaced
4:7ed24ddc5c2a 5:3b367f330821
1 # Building drivers_flash.lib
2
3 CFLAGS="-me -pw2 -mn -x -mt -o2 -mw"
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
5 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470 -DMMI=$MMI"
6
7 # Includes
8
9 CPPFLAGS="$CPPFLAGS -I../config"
10 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
11 CPPFLAGS="$CPPFLAGS -I.."
12 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
13 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
14 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
15 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
16 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
17 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
18 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
19 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0"
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0"
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source"
43
44 SRCDIR=$SRC/cs/drivers/drv_core
45
46 # 1st set of source modules
47
48 c_file $SRCDIR/dsp_dwnld/leadapi.c
49 c_file $SRCDIR/inth/niq.c
50 c_file $SRCDIR/uart/uart.c
51 c_file $SRCDIR/inth/inth.c
52 c_file $SRCDIR/timer/timer.c
53 c_file $SRCDIR/timer/timer1.c
54 c_file $SRCDIR/timer/timer2.c
55 c_file $SRCDIR/timer/timer_sec.c
56 c_file $SRCDIR/security/certificate.c
57 c_file $SRCDIR/clkm/clkm.c
58 c_file $SRCDIR/armio/armio.c
59
60 # 2nd set of source modules
61
62 CFLAGS="-me -pw2 -mn -mt"
63
64 c_file $SRCDIR/spi/spi_drv.c
65 c_file $SRCDIR/abb/abb.c
66 c_file $SRCDIR/abb/abb_core_inth.c
67
68 # niq32
69
70 CFLAGS="-me -pw2 -x -o -mw"
71 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork"
72
73 c_file $SRCDIR/inth/niq32.c