annotate components/l1_int @ 156:17ebcd005f68

dl.lib compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 10 Oct 2016 23:19:27 +0000
parents a46b0aacd9aa
children 53b797cd3c12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building l1_int.lib
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SRCDIR=$SRC/cs/layer1
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 # *_intram.c generation
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 helpers/makeline dep l1_cmplx_intram.c $SRCDIR/cfile/l1_cmplx.c \
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 echo >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 helpers/makeline dep l1_sync_intram.c $SRCDIR/cfile/l1_sync.c \
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 echo >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 # Compilation
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CFLAGS="-g -me -pw2 -mt -o -mw"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 # Includes
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -I../config"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 CPPFLAGS="$CPPFLAGS -I.."
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/buzzer"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/ffs"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/sim"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services/Audio"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 # Source modules
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 cfile_plain $SRCDIR/cfile/l1_func.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 cfile_plain $SRCDIR/cfile/l1_drive.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 cfile_plain $SRCDIR/cfile/l1_mfmgr.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 cfile_plain $SRCDIR/cfile/l1_ctl.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 OBJS="$OBJS ../../blobs/obj/l1_int/l1audio_func.obj"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 OBJS="$OBJS ../../blobs/obj/l1_int/l1audio_sync.obj"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 cfile_plain $SRCDIR/gtt_cfile/ctm/viterbi.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 cfile_plain $SRCDIR/gtt_cfile/ctm/wait_for_sync.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 cfile_plain $SRCDIR/dl1/dl1_com.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 cfile_plain $SRCDIR/cfile/l1_api_hisr.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 if [ "$GPRS" = 1 ]
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 then
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_ctl.obj"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_func.obj"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_driv.obj"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 OBJS="$OBJS ../../blobs/obj/l1_int/macs.obj"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 fi
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 cfile_plain l1_cmplx_intram.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 cfile_plain l1_sync_intram.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 if [ "$GPRS" = 1 ]
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 then
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_cmpl_intram.obj"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_sync_intram.obj"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 fi