diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/l1_ext	Sun Oct 02 00:52:22 2016 +0000
@@ -0,0 +1,122 @@
+# Building l1_ext.lib
+
+CFLAGS="-g -me -pw2 -mt -o -mw"
+CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/buzzer"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/ffs"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/sim"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services/Audio"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
+
+# Source modules
+
+SRCDIR=$SRC/cs/layer1
+
+cfile_plain $SRCDIR/cfile/l1_pwmgr.c
+cfile_plain $SRCDIR/cfile/l1_afunc.c
+cfile_plain $SRCDIR/cfile/l1_trace.c
+cfile_plain $SRCDIR/cfile/l1_init.c
+cfile_plain $SRCDIR/cfile/l1_sync.c
+cfile_plain $SRCDIR/cfile/l1_cmplx.c
+
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1tm_async.obj"
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1tm_func.obj"
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1tm_stats.obj"
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_async.obj"
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_afunc.obj"
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_init.obj"
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_drive.obj"
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_back.obj"
+OBJS="$OBJS ../../blobs/obj/l1_ext/l1audio_abb.obj"
+
+cfile_plain $SRCDIR/gtt_cfile/l1gtt_async.c
+cfile_plain $SRCDIR/gtt_cfile/l1gtt_sync.c
+cfile_plain $SRCDIR/gtt_cfile/l1gtt_func.c
+cfile_plain $SRCDIR/gtt_cfile/l1gtt_drive.c
+cfile_plain $SRCDIR/gtt_cfile/l1gtt_init.c
+cfile_plain $SRCDIR/gtt_cfile/l1gtt_back.c
+cfile_plain $SRCDIR/gtt_cfile/l1gtt_baudot_functions.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/conv_encoder.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/conv_poly.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/ctm_receiver.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/ctm_transmitter.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/diag_interleaver.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/m_sequence.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/ucs_functions.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/diag_deinterleaver.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/fifo.c
+cfile_plain $SRCDIR/gtt_cfile/ctm/init_interleaver.c
+cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_afunc.c
+cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_async.c
+cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_init.c
+cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_sync.c
+cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_apihisr.c
+cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_func.c
+cfile_plain $SRCDIR/dsp1/Dyn_dwnld/tty_patch_file36_10.c
+cfile_plain $SRCDIR/dsp1/Dyn_dwnld/amr_mms_patch_file36_10.c
+cfile_plain $SRCDIR/dsp1/Dyn_dwnld/amr_sch_patch_file36_10.c
+cfile_plain $SRCDIR/dsp1/Dyn_dwnld/e2_patch_file36_10.c
+cfile_plain $SRCDIR/dsp1/Dyn_dwnld/speech_acoustic_patch_file36_10.c
+cfile_plain $SRCDIR/dsp1/Dyn_dwnld/gprs_patch_file36_10.c
+cfile_plain $SRCDIR/dsp1/patch_file36_10_dyn_dwl.c
+cfile_plain $SRCDIR/dsp1/leadboot.c
+
+if [ "$GPRS" = 1 ]
+then
+	OBJS="$OBJS ../../blobs/obj/l1_ext/l1p_afun.obj"
+	OBJS="$OBJS ../../blobs/obj/l1_ext/l1p_asyn.obj"
+	OBJS="$OBJS ../../blobs/obj/l1_ext/l1p_cmpl.obj"
+	OBJS="$OBJS ../../blobs/obj/l1_ext/l1p_sync.obj"
+fi
+
+# Different CFLAGS for l1_small.c
+
+CFLAGS="-g -me -pw2 -mw"
+
+cfile_plain $SRCDIR/cfile/l1_small.c
+
+# Different again for l1_async.c
+
+CFLAGS="-g -me -pw2 -mt -mw -o1"
+
+cfile_plain $SRCDIR/cfile/l1_async.c