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