FreeCalypso > hg > fc-selenite
comparison components/l1_int @ 10:a8f9cc376e98
components: pruned import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 21:19:43 +0000 |
parents | |
children | 0a1a78944683 |
comparison
equal
deleted
inserted
replaced
9:6da1d56a96a3 | 10:a8f9cc376e98 |
---|---|
1 # Building l1_int.lib | |
2 | |
3 SRCDIR=$SRC/cs/layer1 | |
4 | |
5 # *_intram.c generation | |
6 | |
7 helpers/makeline dep l1_cmplx_intram.c $SRCDIR/cfile/l1_cmplx.c \ | |
8 >> $BUILD_DIR/$LIBNAME/Makefile | |
9 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \ | |
10 >> $BUILD_DIR/$LIBNAME/Makefile | |
11 echo >> $BUILD_DIR/$LIBNAME/Makefile | |
12 | |
13 helpers/makeline dep l1_sync_intram.c $SRCDIR/cfile/l1_sync.c \ | |
14 >> $BUILD_DIR/$LIBNAME/Makefile | |
15 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \ | |
16 >> $BUILD_DIR/$LIBNAME/Makefile | |
17 echo >> $BUILD_DIR/$LIBNAME/Makefile | |
18 | |
19 if [ "$GPRS" = 1 ] | |
20 then | |
21 helpers/makeline dep l1p_cmpl_intram.c $SRCDIR/p_cfile/l1p_cmpl.c \ | |
22 >> $BUILD_DIR/$LIBNAME/Makefile | |
23 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \ | |
24 >> $BUILD_DIR/$LIBNAME/Makefile | |
25 echo >> $BUILD_DIR/$LIBNAME/Makefile | |
26 | |
27 helpers/makeline dep l1p_sync_intram.c $SRCDIR/p_cfile/l1p_sync.c \ | |
28 >> $BUILD_DIR/$LIBNAME/Makefile | |
29 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \ | |
30 >> $BUILD_DIR/$LIBNAME/Makefile | |
31 echo >> $BUILD_DIR/$LIBNAME/Makefile | |
32 fi | |
33 | |
34 # Compilation | |
35 | |
36 CFLAGS="-g -me -pw2 -mt -o -mw" | |
37 CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470" | |
38 | |
39 # Includes | |
40 | |
41 CPPFLAGS="$CPPFLAGS -I../config" | |
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" | |
43 CPPFLAGS="$CPPFLAGS -I.." | |
44 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os" | |
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/buzzer" | |
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/ffs" | |
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/sim" | |
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart" | |
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
52 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" | |
53 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt" | |
54 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
55 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services/Audio" | |
56 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" | |
57 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" | |
58 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" | |
59 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" | |
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" | |
62 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" | |
63 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" | |
64 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" | |
65 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0" | |
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0" | |
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source" | |
68 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
69 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
70 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
71 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
83 | |
84 # Source modules | |
85 | |
86 cfile_plain $SRCDIR/cfile/l1_func.c | |
87 cfile_plain $SRCDIR/cfile/l1_drive.c | |
88 cfile_plain $SRCDIR/cfile/l1_mfmgr.c | |
89 cfile_plain $SRCDIR/cfile/l1_ctl.c | |
90 cfile_plain $SRCDIR/audio_cfile/l1audio_func.c | |
91 cfile_plain $SRCDIR/audio_cfile/l1audio_sync.c | |
92 #cfile_plain $SRCDIR/gtt_cfile/ctm/viterbi.c | |
93 #cfile_plain $SRCDIR/gtt_cfile/ctm/wait_for_sync.c | |
94 cfile_plain $SRCDIR/dl1/dl1_com.c | |
95 cfile_plain $SRCDIR/cfile/l1_api_hisr.c | |
96 | |
97 if [ "$GPRS" = 1 ] | |
98 then | |
99 cfile_plain $SRCDIR/p_cfile/l1p_ctl.c | |
100 cfile_plain $SRCDIR/p_cfile/l1p_func.c | |
101 cfile_plain $SRCDIR/p_cfile/l1p_driv.c | |
102 cfile_plain $SRCDIR/cmacs/macs.c | |
103 fi | |
104 | |
105 cfile_plain l1_cmplx_intram.c | |
106 cfile_plain l1_sync_intram.c | |
107 | |
108 if [ "$GPRS" = 1 ] | |
109 then | |
110 cfile_plain l1p_cmpl_intram.c | |
111 cfile_plain l1p_sync_intram.c | |
112 fi |