comparison components/l1_int @ 303:129a4f99511a

compile L1_GPRS modules from source
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 31 Oct 2017 05:05:19 +0000
parents 53b797cd3c12
children cc0426509943
comparison
equal deleted inserted replaced
302:0740b5ff15f6 303:129a4f99511a
13 helpers/makeline dep l1_sync_intram.c $SRCDIR/cfile/l1_sync.c \ 13 helpers/makeline dep l1_sync_intram.c $SRCDIR/cfile/l1_sync.c \
14 >> $BUILD_DIR/$LIBNAME/Makefile 14 >> $BUILD_DIR/$LIBNAME/Makefile
15 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \ 15 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \
16 >> $BUILD_DIR/$LIBNAME/Makefile 16 >> $BUILD_DIR/$LIBNAME/Makefile
17 echo >> $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
18 33
19 # Compilation 34 # Compilation
20 35
21 CFLAGS="-g -me -pw2 -mt -o -mw" 36 CFLAGS="-g -me -pw2 -mt -o -mw"
22 CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470" 37 CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470"
79 cfile_plain $SRCDIR/dl1/dl1_com.c 94 cfile_plain $SRCDIR/dl1/dl1_com.c
80 cfile_plain $SRCDIR/cfile/l1_api_hisr.c 95 cfile_plain $SRCDIR/cfile/l1_api_hisr.c
81 96
82 if [ "$GPRS" = 1 ] 97 if [ "$GPRS" = 1 ]
83 then 98 then
84 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_ctl.obj" 99 cfile_plain $SRCDIR/p_cfile/l1p_ctl.c
85 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_func.obj" 100 cfile_plain $SRCDIR/p_cfile/l1p_func.c
86 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_driv.obj" 101 cfile_plain $SRCDIR/p_cfile/l1p_driv.c
87 OBJS="$OBJS ../../blobs/obj/l1_int/macs.obj" 102 cfile_plain $SRCDIR/cmacs/macs.c
88 fi 103 fi
89 104
90 cfile_plain l1_cmplx_intram.c 105 cfile_plain l1_cmplx_intram.c
91 cfile_plain l1_sync_intram.c 106 cfile_plain l1_sync_intram.c
92 107
93 if [ "$GPRS" = 1 ] 108 if [ "$GPRS" = 1 ]
94 then 109 then
95 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_cmpl_intram.obj" 110 cfile_plain l1p_cmpl_intram.c
96 OBJS="$OBJS ../../blobs/obj/l1_int/l1p_sync_intram.obj" 111 cfile_plain l1p_sync_intram.c
97 fi 112 fi