# HG changeset patch # User Mychaela Falconia # Date 1509426319 0 # Node ID 129a4f99511a10cafbdb3b2afd28f2a1d339a5e0 # Parent 0740b5ff15f69dae0954acb70fa451331498515a compile L1_GPRS modules from source diff -r 0740b5ff15f6 -r 129a4f99511a components/l1_ext --- a/components/l1_ext Tue Oct 31 03:42:35 2017 +0000 +++ b/components/l1_ext Tue Oct 31 05:05:19 2017 +0000 @@ -87,6 +87,7 @@ 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 @@ -104,10 +105,10 @@ 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" + cfile_plain $SRCDIR/p_cfile/l1p_afun.c + cfile_plain $SRCDIR/p_cfile/l1p_asyn.c + cfile_plain $SRCDIR/p_cfile/l1p_cmpl.c + cfile_plain $SRCDIR/p_cfile/l1p_sync.c fi # Different CFLAGS for l1_small.c diff -r 0740b5ff15f6 -r 129a4f99511a components/l1_int --- a/components/l1_int Tue Oct 31 03:42:35 2017 +0000 +++ b/components/l1_int Tue Oct 31 05:05:19 2017 +0000 @@ -16,6 +16,21 @@ >> $BUILD_DIR/$LIBNAME/Makefile echo >> $BUILD_DIR/$LIBNAME/Makefile +if [ "$GPRS" = 1 ] +then + helpers/makeline dep l1p_cmpl_intram.c $SRCDIR/p_cfile/l1p_cmpl.c \ + >> $BUILD_DIR/$LIBNAME/Makefile + helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \ + >> $BUILD_DIR/$LIBNAME/Makefile + echo >> $BUILD_DIR/$LIBNAME/Makefile + + helpers/makeline dep l1p_sync_intram.c $SRCDIR/p_cfile/l1p_sync.c \ + >> $BUILD_DIR/$LIBNAME/Makefile + helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \ + >> $BUILD_DIR/$LIBNAME/Makefile + echo >> $BUILD_DIR/$LIBNAME/Makefile +fi + # Compilation CFLAGS="-g -me -pw2 -mt -o -mw" @@ -81,10 +96,10 @@ if [ "$GPRS" = 1 ] then - OBJS="$OBJS ../../blobs/obj/l1_int/l1p_ctl.obj" - OBJS="$OBJS ../../blobs/obj/l1_int/l1p_func.obj" - OBJS="$OBJS ../../blobs/obj/l1_int/l1p_driv.obj" - OBJS="$OBJS ../../blobs/obj/l1_int/macs.obj" + cfile_plain $SRCDIR/p_cfile/l1p_ctl.c + cfile_plain $SRCDIR/p_cfile/l1p_func.c + cfile_plain $SRCDIR/p_cfile/l1p_driv.c + cfile_plain $SRCDIR/cmacs/macs.c fi cfile_plain l1_cmplx_intram.c @@ -92,6 +107,6 @@ if [ "$GPRS" = 1 ] then - OBJS="$OBJS ../../blobs/obj/l1_int/l1p_cmpl_intram.obj" - OBJS="$OBJS ../../blobs/obj/l1_int/l1p_sync_intram.obj" + cfile_plain l1p_cmpl_intram.c + cfile_plain l1p_sync_intram.c fi diff -r 0740b5ff15f6 -r 129a4f99511a components/tpudrv --- a/components/tpudrv Tue Oct 31 03:42:35 2017 +0000 +++ b/components/tpudrv Tue Oct 31 05:05:19 2017 +0000 @@ -47,5 +47,5 @@ if [ "$GPRS" = 1 ] then - OBJS="$OBJS ../../blobs/obj/tpudrv/p_tpudr12.obj" + cfile_plain $SRCDIR/p_source0/p_tpudr12.c fi