FreeCalypso > hg > fc-tourmaline
comparison components/l1_ext @ 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 l1_ext.lib | |
2 | |
3 CFLAGS="-g -me -pw2 -mt -o -mw" | |
4 CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -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/drivers/drv_app/buzzer" | |
15 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/ffs" | |
16 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/sim" | |
17 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart" | |
18 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
19 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" | |
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt" | |
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services/audio" | |
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" | |
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" | |
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" | |
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" | |
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" | |
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" | |
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" | |
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" | |
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0" | |
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0" | |
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source" | |
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
50 | |
51 # Source modules | |
52 | |
53 SRCDIR=$SRC/cs/layer1 | |
54 | |
55 cfile_plain $SRCDIR/cfile/l1_pwmgr.c | |
56 cfile_plain $SRCDIR/cfile/l1_afunc.c | |
57 cfile_plain $SRCDIR/cfile/l1_trace.c | |
58 cfile_plain $SRCDIR/cfile/l1_init.c | |
59 cfile_plain $SRCDIR/cfile/l1_sync.c | |
60 cfile_plain $SRCDIR/cfile/l1_cmplx.c | |
61 | |
62 cfile_plain $SRCDIR/tm_cfile/l1tm_async.c | |
63 cfile_plain $SRCDIR/tm_cfile/l1tm_func.c | |
64 cfile_plain $SRCDIR/tm_cfile/l1tm_stats.c | |
65 | |
66 cfile_plain $SRCDIR/audio_cfile/l1audio_async.c | |
67 cfile_plain $SRCDIR/audio_cfile/l1audio_afunc.c | |
68 cfile_plain $SRCDIR/audio_cfile/l1audio_init.c | |
69 cfile_plain $SRCDIR/audio_cfile/l1audio_drive.c | |
70 cfile_plain $SRCDIR/audio_cfile/l1audio_back.c | |
71 cfile_plain $SRCDIR/audio_cfile/l1audio_abb.c | |
72 | |
73 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_async.c | |
74 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_sync.c | |
75 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_func.c | |
76 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_drive.c | |
77 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_init.c | |
78 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_back.c | |
79 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_baudot_functions.c | |
80 #cfile_plain $SRCDIR/gtt_cfile/ctm/conv_encoder.c | |
81 #cfile_plain $SRCDIR/gtt_cfile/ctm/conv_poly.c | |
82 #cfile_plain $SRCDIR/gtt_cfile/ctm/ctm_receiver.c | |
83 #cfile_plain $SRCDIR/gtt_cfile/ctm/ctm_transmitter.c | |
84 #cfile_plain $SRCDIR/gtt_cfile/ctm/diag_interleaver.c | |
85 #cfile_plain $SRCDIR/gtt_cfile/ctm/m_sequence.c | |
86 #cfile_plain $SRCDIR/gtt_cfile/ctm/ucs_functions.c | |
87 #cfile_plain $SRCDIR/gtt_cfile/ctm/diag_deinterleaver.c | |
88 #cfile_plain $SRCDIR/gtt_cfile/ctm/fifo.c | |
89 #cfile_plain $SRCDIR/gtt_cfile/ctm/init_interleaver.c | |
90 | |
91 if [ "$L1_DYN_DSP_DWNLD" = 1 ] | |
92 then | |
93 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_afunc.c | |
94 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_async.c | |
95 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_init.c | |
96 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_sync.c | |
97 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_apihisr.c | |
98 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_func.c | |
99 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/tty_patch_file36_10.c | |
100 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/amr_mms_patch_file36_10.c | |
101 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/amr_sch_patch_file36_10.c | |
102 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/e2_patch_file36_10.c | |
103 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/speech_acoustic_patch_file36_10.c | |
104 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/gprs_patch_file36_10.c | |
105 cfile_plain $SRCDIR/dsp1/patch_file36_10_dyn_dwl.c | |
106 else | |
107 cfile_plain $SRCDIR/dsp1/patch_file${DSP}_${CHIPSET}.c | |
108 fi | |
109 | |
110 cfile_plain $SRCDIR/dsp1/leadboot.c | |
111 | |
112 if [ "$GPRS" = 1 ] | |
113 then | |
114 cfile_plain $SRCDIR/p_cfile/l1p_afun.c | |
115 cfile_plain $SRCDIR/p_cfile/l1p_asyn.c | |
116 cfile_plain $SRCDIR/p_cfile/l1p_cmpl.c | |
117 cfile_plain $SRCDIR/p_cfile/l1p_sync.c | |
118 fi | |
119 | |
120 # Different CFLAGS for l1_small.c | |
121 | |
122 CFLAGS="-g -me -pw2 -mw" | |
123 | |
124 cfile_plain $SRCDIR/cfile/l1_small.c | |
125 | |
126 # Different again for l1_async.c | |
127 | |
128 CFLAGS="-g -me -pw2 -mt -mw -o1" | |
129 | |
130 cfile_plain $SRCDIR/cfile/l1_async.c |