FreeCalypso > hg > fc-magnetite
comparison components/l1_int @ 74:a46b0aacd9aa
recompilation of l1_int.lib works
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 02 Oct 2016 02:16:28 +0000 |
parents | |
children | 53b797cd3c12 |
comparison
equal
deleted
inserted
replaced
73:af1bacf61dc6 | 74:a46b0aacd9aa |
---|---|
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 # Compilation | |
20 | |
21 CFLAGS="-g -me -pw2 -mt -o -mw" | |
22 CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470" | |
23 | |
24 # Includes | |
25 | |
26 CPPFLAGS="$CPPFLAGS -I../config" | |
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" | |
28 CPPFLAGS="$CPPFLAGS -I.." | |
29 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os" | |
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/buzzer" | |
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/ffs" | |
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/sim" | |
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart" | |
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" | |
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt" | |
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services/Audio" | |
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" | |
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" | |
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" | |
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" | |
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" | |
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" | |
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" | |
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" | |
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0" | |
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0" | |
52 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source" | |
53 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
54 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
55 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
56 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
57 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
58 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
59 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
62 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
63 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
64 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
65 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
68 | |
69 # Source modules | |
70 | |
71 cfile_plain $SRCDIR/cfile/l1_func.c | |
72 cfile_plain $SRCDIR/cfile/l1_drive.c | |
73 cfile_plain $SRCDIR/cfile/l1_mfmgr.c | |
74 cfile_plain $SRCDIR/cfile/l1_ctl.c | |
75 | |
76 OBJS="$OBJS ../../blobs/obj/l1_int/l1audio_func.obj" | |
77 OBJS="$OBJS ../../blobs/obj/l1_int/l1audio_sync.obj" | |
78 | |
79 cfile_plain $SRCDIR/gtt_cfile/ctm/viterbi.c | |
80 cfile_plain $SRCDIR/gtt_cfile/ctm/wait_for_sync.c | |
81 cfile_plain $SRCDIR/dl1/dl1_com.c | |
82 cfile_plain $SRCDIR/cfile/l1_api_hisr.c | |
83 | |
84 if [ "$GPRS" = 1 ] | |
85 then | |
86 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_ctl.obj" | |
87 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_func.obj" | |
88 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_driv.obj" | |
89 OBJS="$OBJS ../../blobs/obj/l1_int/macs.obj" | |
90 fi | |
91 | |
92 cfile_plain l1_cmplx_intram.c | |
93 cfile_plain l1_sync_intram.c | |
94 | |
95 if [ "$GPRS" = 1 ] | |
96 then | |
97 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_cmpl_intram.obj" | |
98 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_sync_intram.obj" | |
99 fi |