FreeCalypso > hg > fc-tourmaline
comparison components/ffs_drv @ 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 ffs_drv.lib | |
2 | |
3 CFLAGS="-mn -mt -o -x -mw -me -pw2" | |
4 | |
5 # Defines | |
6 | |
7 CPPFLAGS="-DWITH_TFFS=0 -DTMFFS2" | |
8 if [ "$SRVC" != 0 ] | |
9 then | |
10 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA=FAX_AND_DATA" | |
11 fi | |
12 CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0 -D_TMS470" | |
13 | |
14 # Includes | |
15 | |
16 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" | |
17 CPPFLAGS="$CPPFLAGS -I.." | |
18 CPPFLAGS="$CPPFLAGS -I../config" | |
19 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
20 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os" | |
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" | |
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/drivers/drv_app" | |
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" | |
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" | |
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" | |
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" | |
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" | |
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" | |
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" | |
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" | |
50 | |
51 # Source modules | |
52 | |
53 SRCDIR=$SRC/cs/drivers/drv_app/ffs/board | |
54 | |
55 cfile_plain $SRCDIR/cfgffs.c | |
56 cfile_plain $SRCDIR/dev.c | |
57 cfile_plain $SRCDIR/pcmcode.c | |
58 cfile_plain $SRCDIR/task.c | |
59 cfile_plain $SRCDIR/tmffs.c | |
60 | |
61 # Different CFLAGS and CPPFLAGS for ffs_env.c | |
62 | |
63 CFLAGS="-mn -mt -me -pw2" | |
64 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" | |
65 | |
66 # Includes | |
67 | |
68 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" | |
69 CPPFLAGS="$CPPFLAGS -I.." | |
70 CPPFLAGS="$CPPFLAGS -I../config" | |
71 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
72 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os" | |
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" | |
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
93 | |
94 cfile_plain $SRCDIR/ffs_env.c |