FreeCalypso > hg > fc-magnetite
comparison components/l1_ext @ 72:832b4be80ed9
recompilation of l1_ext.lib works
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 02 Oct 2016 00:52:22 +0000 |
parents | |
children | 53b797cd3c12 |
comparison
equal
deleted
inserted
replaced
71:96a085dd4acc | 72:832b4be80ed9 |
---|---|
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 OBJS="$OBJS ../../blobs/obj/l1_ext/l1tm_async.obj" | |
63 OBJS="$OBJS ../../blobs/obj/l1_ext/l1tm_func.obj" | |
64 OBJS="$OBJS ../../blobs/obj/l1_ext/l1tm_stats.obj" | |
65 OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_async.obj" | |
66 OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_afunc.obj" | |
67 OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_init.obj" | |
68 OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_drive.obj" | |
69 OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_back.obj" | |
70 OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_abb.obj" | |
71 | |
72 cfile_plain $SRCDIR/gtt_cfile/l1gtt_async.c | |
73 cfile_plain $SRCDIR/gtt_cfile/l1gtt_sync.c | |
74 cfile_plain $SRCDIR/gtt_cfile/l1gtt_func.c | |
75 cfile_plain $SRCDIR/gtt_cfile/l1gtt_drive.c | |
76 cfile_plain $SRCDIR/gtt_cfile/l1gtt_init.c | |
77 cfile_plain $SRCDIR/gtt_cfile/l1gtt_back.c | |
78 cfile_plain $SRCDIR/gtt_cfile/l1gtt_baudot_functions.c | |
79 cfile_plain $SRCDIR/gtt_cfile/ctm/conv_encoder.c | |
80 cfile_plain $SRCDIR/gtt_cfile/ctm/conv_poly.c | |
81 cfile_plain $SRCDIR/gtt_cfile/ctm/ctm_receiver.c | |
82 cfile_plain $SRCDIR/gtt_cfile/ctm/ctm_transmitter.c | |
83 cfile_plain $SRCDIR/gtt_cfile/ctm/diag_interleaver.c | |
84 cfile_plain $SRCDIR/gtt_cfile/ctm/m_sequence.c | |
85 cfile_plain $SRCDIR/gtt_cfile/ctm/ucs_functions.c | |
86 cfile_plain $SRCDIR/gtt_cfile/ctm/diag_deinterleaver.c | |
87 cfile_plain $SRCDIR/gtt_cfile/ctm/fifo.c | |
88 cfile_plain $SRCDIR/gtt_cfile/ctm/init_interleaver.c | |
89 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_afunc.c | |
90 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_async.c | |
91 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_init.c | |
92 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_sync.c | |
93 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_apihisr.c | |
94 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_func.c | |
95 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/tty_patch_file36_10.c | |
96 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/amr_mms_patch_file36_10.c | |
97 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/amr_sch_patch_file36_10.c | |
98 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/e2_patch_file36_10.c | |
99 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/speech_acoustic_patch_file36_10.c | |
100 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/gprs_patch_file36_10.c | |
101 cfile_plain $SRCDIR/dsp1/patch_file36_10_dyn_dwl.c | |
102 cfile_plain $SRCDIR/dsp1/leadboot.c | |
103 | |
104 if [ "$GPRS" = 1 ] | |
105 then | |
106 OBJS="$OBJS ../../blobs/obj/l1_ext/l1p_afun.obj" | |
107 OBJS="$OBJS ../../blobs/obj/l1_ext/l1p_asyn.obj" | |
108 OBJS="$OBJS ../../blobs/obj/l1_ext/l1p_cmpl.obj" | |
109 OBJS="$OBJS ../../blobs/obj/l1_ext/l1p_sync.obj" | |
110 fi | |
111 | |
112 # Different CFLAGS for l1_small.c | |
113 | |
114 CFLAGS="-g -me -pw2 -mw" | |
115 | |
116 cfile_plain $SRCDIR/cfile/l1_small.c | |
117 | |
118 # Different again for l1_async.c | |
119 | |
120 CFLAGS="-g -me -pw2 -mt -mw -o1" | |
121 | |
122 cfile_plain $SRCDIR/cfile/l1_async.c |