diff components/l1_ext @ 22:0a1a78944683

components: first automated conversion pass
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 22:53:50 +0000
parents a8f9cc376e98
children b6c8dd9a1b02
line wrap: on
line diff
--- a/components/l1_ext	Sun Jul 15 22:20:36 2018 +0000
+++ b/components/l1_ext	Sun Jul 15 22:53:50 2018 +0000
@@ -8,7 +8,7 @@
 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/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"
@@ -52,79 +52,79 @@
 
 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
+c_file $SRCDIR/cfile/l1_pwmgr.c
+c_file $SRCDIR/cfile/l1_afunc.c
+c_file $SRCDIR/cfile/l1_trace.c
+c_file $SRCDIR/cfile/l1_init.c
+c_file $SRCDIR/cfile/l1_sync.c
+c_file $SRCDIR/cfile/l1_cmplx.c
 
-cfile_plain $SRCDIR/tm_cfile/l1tm_async.c
-cfile_plain $SRCDIR/tm_cfile/l1tm_func.c
-cfile_plain $SRCDIR/tm_cfile/l1tm_stats.c
+c_file $SRCDIR/tm_cfile/l1tm_async.c
+c_file $SRCDIR/tm_cfile/l1tm_func.c
+c_file $SRCDIR/tm_cfile/l1tm_stats.c
 
-cfile_plain $SRCDIR/audio_cfile/l1audio_async.c
-cfile_plain $SRCDIR/audio_cfile/l1audio_afunc.c
-cfile_plain $SRCDIR/audio_cfile/l1audio_init.c
-cfile_plain $SRCDIR/audio_cfile/l1audio_drive.c
-cfile_plain $SRCDIR/audio_cfile/l1audio_back.c
-cfile_plain $SRCDIR/audio_cfile/l1audio_abb.c
+c_file $SRCDIR/audio_cfile/l1audio_async.c
+c_file $SRCDIR/audio_cfile/l1audio_afunc.c
+c_file $SRCDIR/audio_cfile/l1audio_init.c
+c_file $SRCDIR/audio_cfile/l1audio_drive.c
+c_file $SRCDIR/audio_cfile/l1audio_back.c
+c_file $SRCDIR/audio_cfile/l1audio_abb.c
 
-#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
+#c_file $SRCDIR/gtt_cfile/l1gtt_async.c
+#c_file $SRCDIR/gtt_cfile/l1gtt_sync.c
+#c_file $SRCDIR/gtt_cfile/l1gtt_func.c
+#c_file $SRCDIR/gtt_cfile/l1gtt_drive.c
+#c_file $SRCDIR/gtt_cfile/l1gtt_init.c
+#c_file $SRCDIR/gtt_cfile/l1gtt_back.c
+#c_file $SRCDIR/gtt_cfile/l1gtt_baudot_functions.c
+#c_file $SRCDIR/gtt_cfile/ctm/conv_encoder.c
+#c_file $SRCDIR/gtt_cfile/ctm/conv_poly.c
+#c_file $SRCDIR/gtt_cfile/ctm/ctm_receiver.c
+#c_file $SRCDIR/gtt_cfile/ctm/ctm_transmitter.c
+#c_file $SRCDIR/gtt_cfile/ctm/diag_interleaver.c
+#c_file $SRCDIR/gtt_cfile/ctm/m_sequence.c
+#c_file $SRCDIR/gtt_cfile/ctm/ucs_functions.c
+#c_file $SRCDIR/gtt_cfile/ctm/diag_deinterleaver.c
+#c_file $SRCDIR/gtt_cfile/ctm/fifo.c
+#c_file $SRCDIR/gtt_cfile/ctm/init_interleaver.c
 
 if [ "$L1_DYN_DSP_DWNLD" = 1 ]
 then
-	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
+	c_file $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_afunc.c
+	c_file $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_async.c
+	c_file $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_init.c
+	c_file $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_sync.c
+	c_file $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_apihisr.c
+	c_file $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_func.c
+	c_file $SRCDIR/dsp1/Dyn_dwnld/tty_patch_file36_10.c
+	c_file $SRCDIR/dsp1/Dyn_dwnld/amr_mms_patch_file36_10.c
+	c_file $SRCDIR/dsp1/Dyn_dwnld/amr_sch_patch_file36_10.c
+	c_file $SRCDIR/dsp1/Dyn_dwnld/e2_patch_file36_10.c
+	c_file $SRCDIR/dsp1/Dyn_dwnld/speech_acoustic_patch_file36_10.c
+	c_file $SRCDIR/dsp1/Dyn_dwnld/gprs_patch_file36_10.c
+	c_file $SRCDIR/dsp1/patch_file36_10_dyn_dwl.c
 else
-	cfile_plain $SRCDIR/dsp1/patch_file${DSP}_${CHIPSET}.c
+	c_file $SRCDIR/dsp1/patch_file${DSP}_${CHIPSET}.c
 fi
 
-cfile_plain $SRCDIR/dsp1/leadboot.c
+c_file $SRCDIR/dsp1/leadboot.c
 
 if [ "$GPRS" = 1 ]
 then
-	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
+	c_file $SRCDIR/p_cfile/l1p_afun.c
+	c_file $SRCDIR/p_cfile/l1p_asyn.c
+	c_file $SRCDIR/p_cfile/l1p_cmpl.c
+	c_file $SRCDIR/p_cfile/l1p_sync.c
 fi
 
 # Different CFLAGS for l1_small.c
 
 CFLAGS="-g -me -pw2 -mw"
 
-cfile_plain $SRCDIR/cfile/l1_small.c
+c_file $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
+c_file $SRCDIR/cfile/l1_async.c