view components/l1_ext @ 193:6a53de2c4fc2

R2D sync with Magnetite R2D is never compiled in Selenite, thus the present change has absolutely no impact on anything - but this sync is being done in order to keep the overall diff between Magnetite and Selenite to a minimum.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 May 2020 07:13:36 +0000
parents 1155be085fc1
children
line wrap: on
line source

# Building l1_ext.lib

CFLAGS="-g -me -pw2 -mt -o -mw"
CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470"

# Includes

CPPFLAGS="$CPPFLAGS -I../config"
CPPFLAGS="$CPPFLAGS -I$SRC/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

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

c_file $SRCDIR/tm_cfile/l1tm_async.c
c_file $SRCDIR/tm_cfile/l1tm_func.c
c_file $SRCDIR/tm_cfile/l1tm_stats.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

#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
	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
	c_file $SRCDIR/dsp1/patch_file${DSP}_${CHIPSET}.c
fi

c_file $SRCDIR/dsp1/leadboot.c

if [ "$GPRS" = 1 ]
then
	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"

c_file $SRCDIR/cfile/l1_small.c

# Different again for l1_async.c

CFLAGS="-g -me -pw2 -mt -mw -o1"

c_file $SRCDIR/cfile/l1_async.c