changeset 10:a8f9cc376e98

components: pruned import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 21:19:43 +0000
parents 6da1d56a96a3
children b493d3857f4e
files components/abb components/aci components/aci_dti_mng components/aciext components/alr components/atiext components/audio components/audio_bgd components/bootloader components/buzzer components/cc components/ccd_na7_db components/ccddata components/cci components/cci_ir components/cl components/comlib components/config_gprs_fl components/config_gprs_ir components/config_gsm_fl components/config_gsm_ir components/cst components/dar components/dar_gbl_var components/dl components/drivers_flash components/dti components/etm components/fad components/fchg components/ffs components/ffs_drv components/ffs_pcm components/frame_na7_db_fl components/frame_na7_db_ir components/gdi components/gmm components/grlc components/grlc_ir components/grr components/kpd components/l1_custom_ext components/l1_custom_int components/l1_ext components/l1_int components/l1_pei components/l2r components/llc components/lls components/main components/misc_na7_db_fl components/misc_na7_db_ir components/mm components/osx_na7_db components/power components/ppp components/ppp_ir components/ra components/riviera_core_flash components/riviera_cust_flash components/rlp components/rr components/rtc_drv components/sim_b_lib components/sim_drv components/sm components/sms components/sndcp components/spi_drv components/ss components/t30 components/tif_na7_db_fl components/tif_na7_db_ir components/tpudrv components/uart_b_lib components/uart_drv components/upm
diffstat 77 files changed, 5980 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/abb	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,54 @@
+# Building abb.lib
+
+if [ "$SRVC" != 0 ]
+then
+	IDS=1
+else
+	IDS=0
+fi
+
+CFLAGS="-mn -mt -mw -me -pw2"
+CPPFLAGS="-DIDS=$IDS -DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/abb
+
+cfile_plain $SRCDIR/board/abb_inth.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/aci	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,497 @@
+# Building the TCS3.2 version of aci.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version aci
+cfile_plain aci_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DVOCODER_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT"
+CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DDTI"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# FreeCalypso additions to make the TCS3.2 version
+# behave more like TCS211
+
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_CMD_WS46"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_ATR"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_CPRSM"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_CSCN"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_CUSDR"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_CUST"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_DBGINFO"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_RDLB"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_SECP"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_SECS"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_STDR"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_CONC_SMS"
+
+if [ "$ALLOW_CSIM_GSM" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DALLOW_CSIM_GSM"
+fi
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+
+if [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw"
+fi
+
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ksd"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ati_ext"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci_ext"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci_dti_mng"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# ACI source modules
+
+SRCDIR=$SRC/g23m-aci/aci
+
+# ATI stuff
+cfile_str2ind $SRCDIR/ati_sat.c
+cfile_str2ind $SRCDIR/ati_src_sat.c
+cfile_str2ind $SRCDIR/ati_pdu.c
+cfile_str2ind $SRCDIR/ati_bas.c
+cfile_str2ind $SRCDIR/ati_cc.c
+cfile_str2ind $SRCDIR/ati_cmd.c
+cfile_str2ind $SRCDIR/ati_csc.c
+cfile_str2ind $SRCDIR/ati_err.c
+
+if [ "$SRVC" != 0 ]
+then
+	cfile_str2ind $SRCDIR/ati_fd.c
+fi
+
+cfile_str2ind $SRCDIR/ati_io.c
+cfile_str2ind $SRCDIR/ati_mm.c
+cfile_str2ind $SRCDIR/ati_phb.c
+cfile_str2ind $SRCDIR/ati_prs.c
+cfile_str2ind $SRCDIR/ati_ret.c
+cfile_str2ind $SRCDIR/ati_sim.c
+cfile_str2ind $SRCDIR/ati_sms.c
+cfile_str2ind $SRCDIR/ati_ss.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/ati_gprs.c
+fi
+
+cfile_str2ind $SRCDIR/ati_mmi.c
+cfile_str2ind $SRCDIR/ati_em.c
+cfile_str2ind $SRCDIR/ati_em_ret.c
+cfile_str2ind $SRCDIR/ati_cphs.c
+cfile_str2ind $SRCDIR/ati_dti.c
+
+cfile_str2ind $SRCDIR/ati_src_rvt.c
+cfile_str2ind $SRCDIR/ati_omcompat.c
+cfile_str2ind $SRCDIR/ati_audio.c
+cfile_str2ind $SRCDIR/ati_fchg.c
+
+# ACI stuff
+cfile_str2ind $SRCDIR/aci_aci.c
+cfile_str2ind $SRCDIR/aci_mem.c
+cfile_str2ind $SRCDIR/aci_csf.c
+cfile_str2ind $SRCDIR/aci_pei.c
+cfile_str2ind $SRCDIR/aci_tim.c
+cfile_str2ind $SRCDIR/aci_util.c
+cfile_str2ind $SRCDIR/aci_lst.c
+cfile_str2ind $SRCDIR/dti_cntrl_mng.c
+cfile_str2ind $SRCDIR/phb.c
+cfile_str2ind $SRCDIR/aoc.c
+cfile_str2ind $SRCDIR/aci_mfw.c
+cfile_str2ind $SRCDIR/aci_slock.c
+cfile_str2ind $SRCDIR/aci_em.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/gaci_srcc.c
+	cfile_str2ind $SRCDIR/gaci.c
+	cfile_str2ind $SRCDIR/gaci_ret.c
+fi
+
+cfile_str2ind $SRCDIR/hl_audio_drv.c
+
+# ATISRC stuff
+cfile_str2ind $SRCDIR/ati_src_uart.c
+cfile_str2ind $SRCDIR/ati_src_uart_io.c
+
+# CMH stuff (part 1)
+cfile_str2ind $SRCDIR/cmh_sats.c
+cfile_str2ind $SRCDIR/cmh_satr.c
+cfile_str2ind $SRCDIR/cmh_satq.c
+
+# CMH stuff (part 2)
+if [ "$SRVC" = 0 ]
+then
+	cfile_str2ind $SRCDIR/cmh_ccf.c
+	cfile_str2ind $SRCDIR/cmh_ccq.c
+	cfile_str2ind $SRCDIR/cmh_ccr.c
+	cfile_str2ind $SRCDIR/cmh_ccs.c
+	cfile_str2ind $SRCDIR/cmh_dmy.c
+	cfile_str2ind $SRCDIR/cmh_f.c
+	cfile_str2ind $SRCDIR/cmh_mmf.c
+	cfile_str2ind $SRCDIR/cmh_mmir.c
+	cfile_str2ind $SRCDIR/cmh_mmis.c
+	cfile_str2ind $SRCDIR/cmh_mmit.c
+	cfile_str2ind $SRCDIR/cmh_mmiq.c
+	cfile_str2ind $SRCDIR/cmh_mmq.c
+	cfile_str2ind $SRCDIR/cmh_mmr.c
+	cfile_str2ind $SRCDIR/cmh_mms.c
+	cfile_str2ind $SRCDIR/cmh_mmt.c
+	cfile_str2ind $SRCDIR/cmh_phbf.c
+	cfile_str2ind $SRCDIR/cmh_ssq.c
+	cfile_str2ind $SRCDIR/cmh_ssr.c
+	cfile_str2ind $SRCDIR/cmh_sss.c
+	cfile_str2ind $SRCDIR/cmh_phbq.c
+	cfile_str2ind $SRCDIR/cmh_phbs.c
+	cfile_str2ind $SRCDIR/cmh_phbt.c
+	cfile_str2ind $SRCDIR/cmh_phbr.c
+	cfile_str2ind $SRCDIR/cmh_simf.c
+	cfile_str2ind $SRCDIR/cmh_simq.c
+	cfile_str2ind $SRCDIR/cmh_simr.c
+	cfile_str2ind $SRCDIR/cmh_sims.c
+	cfile_str2ind $SRCDIR/cmh_smsf.c
+	cfile_str2ind $SRCDIR/cmh_smsq.c
+	cfile_str2ind $SRCDIR/cmh_smsr.c
+	cfile_str2ind $SRCDIR/cmh_smss.c
+	cfile_str2ind $SRCDIR/cmh_ssf.c
+	cfile_str2ind $SRCDIR/cmh_tsts.c
+	cfile_str2ind $SRCDIR/cmh_uartf.c
+    	cfile_str2ind $SRCDIR/cmh_uartr.c
+	cfile_str2ind $SRCDIR/cmh_uarts.c
+fi
+
+cfile_str2ind $SRCDIR/cmh_emq.c
+cfile_str2ind $SRCDIR/cmh_emr.c
+
+# CMH stuff (part 3)
+if [ "$SRVC" != 0 ]
+then
+	cfile_str2ind $SRCDIR/cmh_ccf.c
+	cfile_str2ind $SRCDIR/cmh_ccq.c
+	cfile_str2ind $SRCDIR/cmh_ccr.c
+	cfile_str2ind $SRCDIR/cmh_ccs.c
+	cfile_str2ind $SRCDIR/cmh_dmy.c
+	cfile_str2ind $SRCDIR/cmh_f.c
+	cfile_str2ind $SRCDIR/cmh_l2rf.c
+	cfile_str2ind $SRCDIR/cmh_l2rq.c
+	cfile_str2ind $SRCDIR/cmh_l2rr.c
+	cfile_str2ind $SRCDIR/cmh_l2rs.c
+	cfile_str2ind $SRCDIR/cmh_mmf.c
+	cfile_str2ind $SRCDIR/cmh_mmir.c
+	cfile_str2ind $SRCDIR/cmh_mmis.c
+	cfile_str2ind $SRCDIR/cmh_mmit.c
+	cfile_str2ind $SRCDIR/cmh_mmiq.c
+	cfile_str2ind $SRCDIR/cmh_mmq.c
+	cfile_str2ind $SRCDIR/cmh_mmr.c
+	cfile_str2ind $SRCDIR/cmh_mms.c
+	cfile_str2ind $SRCDIR/cmh_mmt.c
+	cfile_str2ind $SRCDIR/cmh_phbf.c
+	cfile_str2ind $SRCDIR/cmh_phbq.c
+	cfile_str2ind $SRCDIR/cmh_ssq.c
+	cfile_str2ind $SRCDIR/cmh_ssr.c
+	cfile_str2ind $SRCDIR/cmh_sss.c
+	cfile_str2ind $SRCDIR/cmh_phbs.c
+	cfile_str2ind $SRCDIR/cmh_phbt.c
+	cfile_str2ind $SRCDIR/cmh_phbr.c
+	cfile_str2ind $SRCDIR/cmh_raf.c
+	cfile_str2ind $SRCDIR/cmh_rar.c
+	cfile_str2ind $SRCDIR/cmh_ras.c
+	cfile_str2ind $SRCDIR/cmh_simf.c
+	cfile_str2ind $SRCDIR/cmh_simq.c
+	cfile_str2ind $SRCDIR/cmh_simr.c
+	cfile_str2ind $SRCDIR/cmh_sims.c
+	cfile_str2ind $SRCDIR/cmh_smsf.c
+	cfile_str2ind $SRCDIR/cmh_smsq.c
+	cfile_str2ind $SRCDIR/cmh_smsr.c
+	cfile_str2ind $SRCDIR/cmh_smss.c
+	cfile_str2ind $SRCDIR/cmh_ssf.c
+
+	if [ "$SRVC" = 1 ]
+	then
+		cfile_str2ind $SRCDIR/cmh_t30f.c
+		cfile_str2ind $SRCDIR/cmh_t30r.c
+		cfile_str2ind $SRCDIR/cmh_t30s.c
+		cfile_str2ind $SRCDIR/cmh_t30q.c
+	fi
+
+	cfile_str2ind $SRCDIR/cmh_tsts.c
+	cfile_str2ind $SRCDIR/cmh_uartf.c
+	cfile_str2ind $SRCDIR/cmh_uartr.c
+	cfile_str2ind $SRCDIR/cmh_uarts.c
+fi
+
+# CMH stuff (part 4)
+# all WAP/TCPIP/SATE stuff - not in FreeCalypso
+
+# CMH stuff (part 5)
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/cmh_gmmf.c
+	cfile_str2ind $SRCDIR/cmh_gmmq.c
+	cfile_str2ind $SRCDIR/cmh_gmmr.c
+	cfile_str2ind $SRCDIR/cmh_gmms.c
+	cfile_str2ind $SRCDIR/cmh_gpppf.c
+	cfile_str2ind $SRCDIR/cmh_gpppr.c
+	cfile_str2ind $SRCDIR/cmh_gppps.c
+	cfile_str2ind $SRCDIR/cmh_snds.c
+	cfile_str2ind $SRCDIR/cmh_sndr.c
+	cfile_str2ind $SRCDIR/cmh_smf.c
+	cfile_str2ind $SRCDIR/cmh_smq.c
+	cfile_str2ind $SRCDIR/cmh_smr.c
+	cfile_str2ind $SRCDIR/cmh_sms.c
+	cfile_str2ind $SRCDIR/cmh_smt.c
+fi
+
+# CMH stuff (part 6)
+cfile_str2ind $SRCDIR/cmh_cphs.c
+cfile_str2ind $SRCDIR/cmh_dti.c
+
+# PSA stuff
+cfile_str2ind $SRCDIR/psa_satf.c
+cfile_str2ind $SRCDIR/psa_satp.c
+cfile_str2ind $SRCDIR/psa_sats.c
+cfile_str2ind $SRCDIR/cmh_satf.c
+
+cfile_str2ind $SRCDIR/psa_ccf.c
+cfile_str2ind $SRCDIR/psa_ccp.c
+cfile_str2ind $SRCDIR/psa_ccs.c
+cfile_str2ind $SRCDIR/psa_f.c
+
+if [ "$SRVC" != 0 ]
+then
+	cfile_str2ind $SRCDIR/psa_l2rf.c
+	cfile_str2ind $SRCDIR/psa_l2rp.c
+	cfile_str2ind $SRCDIR/psa_l2rs.c
+fi
+
+cfile_str2ind $SRCDIR/psa_mmf.c
+cfile_str2ind $SRCDIR/psa_mmif.c
+cfile_str2ind $SRCDIR/psa_mmip.c
+cfile_str2ind $SRCDIR/psa_mmis.c
+cfile_str2ind $SRCDIR/psa_mmp.c
+cfile_str2ind $SRCDIR/psa_mms.c
+
+if [ "$SRVC" != 0 ]
+then
+	cfile_str2ind $SRCDIR/psa_raf.c
+	cfile_str2ind $SRCDIR/psa_rap.c
+	cfile_str2ind $SRCDIR/psa_ras.c
+fi
+
+cfile_str2ind $SRCDIR/psa_simf.c
+cfile_str2ind $SRCDIR/psa_simp.c
+cfile_str2ind $SRCDIR/psa_sims.c
+cfile_str2ind $SRCDIR/psa_smsf.c
+cfile_str2ind $SRCDIR/psa_smsp.c
+cfile_str2ind $SRCDIR/psa_smss.c
+cfile_str2ind $SRCDIR/psa_ssf.c
+cfile_str2ind $SRCDIR/psa_ssp.c
+cfile_str2ind $SRCDIR/psa_sss.c
+
+if [ "$SRVC" = 1 ]
+then
+	cfile_str2ind $SRCDIR/psa_t30f.c
+	cfile_str2ind $SRCDIR/psa_t30p.c
+	cfile_str2ind $SRCDIR/psa_t30s.c
+fi
+
+cfile_str2ind $SRCDIR/psa_util.c
+cfile_str2ind $SRCDIR/psa_uartp.c
+cfile_str2ind $SRCDIR/psa_uarts.c
+
+if [ "$SRVC" != 0 ]
+then
+	cfile_str2ind $SRCDIR/psa_tras.c
+	cfile_str2ind $SRCDIR/psa_trap.c
+fi
+
+cfile_str2ind $SRCDIR/psa_mtst.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/psa_gmmf.c
+	cfile_str2ind $SRCDIR/psa_gmmp.c
+	cfile_str2ind $SRCDIR/psa_gmms.c
+	cfile_str2ind $SRCDIR/psa_gpppf.c
+	cfile_str2ind $SRCDIR/psa_gpppp.c
+	cfile_str2ind $SRCDIR/psa_gppps.c
+	cfile_str2ind $SRCDIR/psa_sndp.c
+	cfile_str2ind $SRCDIR/psa_snds.c
+	cfile_str2ind $SRCDIR/psa_smf.c
+	cfile_str2ind $SRCDIR/psa_smp.c
+	cfile_str2ind $SRCDIR/psa_sms.c
+	cfile_str2ind $SRCDIR/psa_upmp.c
+	cfile_str2ind $SRCDIR/psa_upms.c
+fi
+
+# miscellaneous stuff
+cfile_str2ind $SRCDIR/sap_dti.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/sap_ppp.c
+fi
+
+cfile_str2ind $SRCDIR/sap_em.c
+cfile_str2ind $SRCDIR/conc_sms.c
+cfile_str2ind $SRCDIR/cphs.c
+cfile_str2ind $SRCDIR/cphs_aci.c
+cfile_str2ind $SRCDIR/line_edit.c
+cfile_str2ind $SRCDIR/line_split.c
+cfile_str2ind $SRCDIR/dcm_f.c
+
+# KSD sourceset, new defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT"
+CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# New includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ksd"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+
+# KSD source modules
+
+SRCDIR=$SRC/g23m-aci/ksd
+
+cfile_str2ind $SRCDIR/ksd.c
+cfile_str2ind $SRCDIR/ksd_utl.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/aci_dti_mng	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,71 @@
+# Building the TCS3.2 version of aci_dti_mng.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci_dti_mng"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+
+# Source modules
+
+SRCDIR=$SRC/g23m-aci/aci_dti_mng
+
+cfile_str2ind $SRCDIR/dti_conn_mng.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/aciext	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,107 @@
+# Building the TCS3.2 version of aciext.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version aci_ext
+cfile_plain aci_ext_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT"
+CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# FreeCalypso additions to make the TCS3.2 version
+# behave more like TCS211
+
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_SECP"
+CPPFLAGS="$CPPFLAGS -DTI_PS_FF_AT_P_CMD_SECS"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci_ext"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/g23m-aci/aci_ext
+
+cfile_str2ind $SRCDIR/aci_ext_pers.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/alr	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,116 @@
+# Building alr.lib from the ALR source we got
+# with our copy of TCS211 from Sotovik
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version alr
+cfile_plain alr_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DHAS_FLASH_EPROM"
+CPPFLAGS="$CPPFLAGS -DFF_MULTIBAND"
+CPPFLAGS="$CPPFLAGS -DALR=1"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+
+# Includes
+
+SRCDIR=$SRC/aci2/alr
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/alr_cs.c
+cfile_str2ind $SRCDIR/alr_csf.c
+cfile_str2ind $SRCDIR/alr_main.c
+cfile_str2ind $SRCDIR/alr_nc.c
+cfile_str2ind $SRCDIR/alr_pch.c
+cfile_str2ind $SRCDIR/alr_pei.c
+cfile_str2ind $SRCDIR/alr_rach.c
+cfile_str2ind $SRCDIR/alr_sc.c
+cfile_str2ind $SRCDIR/alr_dedi.c
+cfile_str2ind $SRCDIR/alr_mmi.c
+cfile_str2ind $SRCDIR/alr_cbch.c
+cfile_str2ind $SRCDIR/alr_trc.c
+cfile_str2ind $SRCDIR/alr_tim.c
+cfile_str2ind $SRCDIR/alr_em.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/alr_gprs.c
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/atiext	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,77 @@
+# Building the TCS3.2 version of atiext.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version ati_ext
+cfile_plain ati_ext_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT"
+CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ati_ext"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+
+# Source modules
+
+SRCDIR=$SRC/g23m-aci/ati_ext
+
+cfile_str2ind $SRCDIR/ati_ext_mech.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/audio	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,76 @@
+# Building audio.lib
+
+CFLAGS="-mn -mt -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services/Audio"
+
+# Source modules
+
+SRCDIR=$SRC/cs/services/Audio
+
+cfile_plain $SRCDIR/audio_env.c
+cfile_plain $SRCDIR/audio_api.c
+cfile_plain $SRCDIR/audio_error_hdlr.c
+cfile_plain $SRCDIR/audio_task.c
+cfile_plain $SRCDIR/audio_keybeep.c
+cfile_plain $SRCDIR/audio_tones.c
+cfile_plain $SRCDIR/audio_melody_E1.c
+cfile_plain $SRCDIR/audio_melody_E2.c
+cfile_plain $SRCDIR/audio_ffs.c
+cfile_plain $SRCDIR/audio_vm.c
+cfile_plain $SRCDIR/audio_vm_play.c
+cfile_plain $SRCDIR/audio_vm_record.c
+cfile_plain $SRCDIR/audio_compatibilities.c
+cfile_plain $SRCDIR/audio_sr_enroll.c
+cfile_plain $SRCDIR/audio_sr_update.c
+cfile_plain $SRCDIR/audio_sr_reco.c
+cfile_plain $SRCDIR/audio_sr.c
+cfile_plain $SRCDIR/audio_mode.c
+cfile_plain $SRCDIR/audio_mode_full_write.c
+cfile_plain $SRCDIR/audio_mode_load.c
+cfile_plain $SRCDIR/audio_mode_save.c
+cfile_plain $SRCDIR/audio_mode_drivers.c
+cfile_plain $SRCDIR/audio_mode_volume.c
+cfile_plain $SRCDIR/audio_midi.c
+cfile_plain $SRCDIR/audio_vm_amr.c
+cfile_plain $SRCDIR/audio_vm_amr_play.c
+cfile_plain $SRCDIR/audio_vm_amr_record.c
+cfile_plain $SRCDIR/audio_driver.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/audio_bgd	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,39 @@
+# Building audio_bgd.lib
+
+CFLAGS="-mn -mt -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/services/Audio/Audio_bgd
+
+cfile_plain $SRCDIR/audio_bgd_env.c
+cfile_plain $SRCDIR/audio_bgd_task.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/bootloader	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,76 @@
+# Building bootloader.lib
+
+SRCDIR=$SRC/cs/system/bootloader/src
+
+# Assembly modules
+
+ASMFLAGS=-me
+ASMFLAGS="$ASMFLAGS -dBOARD=41"
+ASMFLAGS="$ASMFLAGS -dCHIPSET=$CHIPSET"
+ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3"
+ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0"
+ASMFLAGS="$ASMFLAGS -dR2D_ASM=0"
+ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0"
+ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0"
+ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"
+ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS"
+ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
+ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
+
+asm_file $SRCDIR/bootloader.s
+
+ASMFLAGS="-mt -me"
+ASMFLAGS="$ASMFLAGS -dBOARD=41"
+ASMFLAGS="$ASMFLAGS -dCHIPSET=$CHIPSET"
+ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3"
+ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0"
+ASMFLAGS="$ASMFLAGS -dR2D_ASM=0"
+ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0"
+ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0"
+ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"
+ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS"
+ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
+ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
+
+asm_file $SRCDIR/branch_in_RAM.s
+
+# C modules
+
+CFLAGS="-mn -mt -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+cfile_plain $SRCDIR/cmdboot.c
+cfile_plain $SRCDIR/command.c
+cfile_plain $SRCDIR/convert.c
+cfile_plain $SRCDIR/optboot.c
+cfile_plain $SRCDIR/serial.c
+cfile_plain $SRCDIR/start.c
+cfile_plain $SRCDIR/boot.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/buzzer	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,38 @@
+# Building buzzer.lib
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/buzzer
+
+cfile_plain $SRCDIR/buzzer.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/cc	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,62 @@
+# Building cc.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version cc
+cfile_plain cc_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gsm/cc
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/cc_act.c
+cfile_str2ind $SRCDIR/cc_cfk.c
+cfile_str2ind $SRCDIR/cc_csf.c
+cfile_str2ind $SRCDIR/cc_est.c
+cfile_str2ind $SRCDIR/cc_ffk.c
+cfile_str2ind $SRCDIR/cc_for.c
+cfile_str2ind $SRCDIR/cc_pei.c
+cfile_str2ind $SRCDIR/cc_rel.c
+cfile_str2ind $SRCDIR/cc_srv.c
+cfile_str2ind $SRCDIR/cc_time.c
+cfile_str2ind $SRCDIR/cc_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ccd_na7_db	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,77 @@
+# Building ccd_na7_db.lib using TCS3.2 CCD source
+
+CFLAGS="-mw -x -pw2 -me -mt -o -g -mn"
+
+# Defines
+
+CPPFLAGS="-DM_INTEL -DSHARED_VSI -DSHARED_CCD"
+CPPFLAGS="$CPPFLAGS -DCCDDATA_STATIC_DATA"
+CPPFLAGS="$CPPFLAGS -D_TMS470 -DNEW_ENTITY -DERR_TRACE_CCD"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/ccd"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+
+# Source modules
+
+SRCDIR=$SRC/gpf3/ccd
+
+cfile_plain $SRCDIR/ccd.c
+cfile_plain $SRCDIR/bitfun.c
+cfile_plain $SRCDIR/cdc_std.c
+cfile_plain $SRCDIR/cdc_com.c
+cfile_plain $SRCDIR/ccd_err.c
+cfile_plain $SRCDIR/ccd_store.c
+cfile_plain $SRCDIR/gsm1_tv.c
+cfile_plain $SRCDIR/gsm1_v.c
+cfile_plain $SRCDIR/gsm2_t.c
+cfile_plain $SRCDIR/gsm3_tv.c
+cfile_plain $SRCDIR/gsm3_v.c
+cfile_plain $SRCDIR/gsm4_lv.c
+cfile_plain $SRCDIR/gsm4_tlv.c
+cfile_plain $SRCDIR/gsm5_tlv.c
+cfile_plain $SRCDIR/gsm5_tv.c
+cfile_plain $SRCDIR/gsm5_v.c
+cfile_plain $SRCDIR/gsm6_tlv.c
+cfile_plain $SRCDIR/gsm7_lv.c
+cfile_plain $SRCDIR/bcd_mnc.c
+cfile_plain $SRCDIR/bcd_nofill.c
+cfile_plain $SRCDIR/bcdeven.c
+cfile_plain $SRCDIR/bcdodd.c
+cfile_plain $SRCDIR/gsm1_asn.c
+cfile_plain $SRCDIR/csn1_s1.c
+cfile_plain $SRCDIR/csn1_sh.c
+cfile_plain $SRCDIR/s_padding.c
+cfile_plain $SRCDIR/t30_ident.c
+cfile_plain $SRCDIR/asn1_bitstr.c
+cfile_plain $SRCDIR/asn1_octet.c
+cfile_plain $SRCDIR/asn1_integ.c
+cfile_plain $SRCDIR/asn1_seq.c
+cfile_plain $SRCDIR/asn1_choice.c
+cfile_plain $SRCDIR/no_code.c
+cfile_plain $SRCDIR/asn1_choice_ext.c
+cfile_plain $SRCDIR/asn1_seq_ext.c
+cfile_plain $SRCDIR/asn1_integ_ext.c
+cfile_plain $SRCDIR/asn1_opentype.c
+cfile_plain $SRCDIR/asn1_objid.c
+cfile_plain $SRCDIR/noncritical_ext.c
+cfile_plain $SRCDIR/critical_ext.c
+cfile_plain $SRCDIR/ccd_elem.c
+cfile_plain $SRCDIR/s_padding_0.c
+cfile_plain $SRCDIR/csn1_s0.c
+cfile_plain $SRCDIR/hl_flag.c
+cfile_plain $SRCDIR/freq_list.c
+cfile_plain $SRCDIR/fdd_ci.c
+cfile_plain $SRCDIR/tdd_ci.c
+cfile_plain $SRCDIR/freq_list_com.c
+cfile_plain $SRCDIR/csn1_concat.c
+cfile_plain $SRCDIR/break_cond.c
+cfile_plain $SRCDIR/csn1_sx.c
+cfile_plain $SRCDIR/csn1_choice_1.c
+cfile_plain $SRCDIR/csn1_choice_2.c
+cfile_plain $SRCDIR/csn1_choice_x.c
+cfile_plain $SRCDIR/csn1_sh_opt.c
+cfile_plain $SRCDIR/csn1_s1_opt.c
+cfile_plain $SRCDIR/csn1_s0_opt.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ccddata	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,21 @@
+# Building ccddata.lib using TCS3.2 CCD source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS="-D_TMS470 -DNEW_FRAME -DNEW_ENTITY -DCCDDATA_STATIC_DATA"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/ccd"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+
+# Source modules
+
+SRCDIR=$SRC/gpf3/ccd
+
+cfile_plain $SRCDIR/ccd_config.c
+cfile_plain $SRCDIR/ccddata_mconst.c
+cfile_plain $SRCDIR/ccddata_ccdmtab.c
+cfile_plain $SRCDIR/ccddata_cdemval.c
+cfile_plain $SRCDIR/ccddata_ccdent.c
+cfile_plain $SRCDIR/ccddata_ccd.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/cci	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,96 @@
+# Building cci.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DLL_DESC"
+CPPFLAGS="$CPPFLAGS -DCCI_FLASH_ROM"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-gprs/llc"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-gprs/cci"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/g23m-gprs/cci
+
+cfile_str2ind $SRCDIR/cci_gea_start.c
+cfile_str2ind $SRCDIR/cci_fbsf.c
+#cfile_str2ind $SRCDIR/cci_fbsp.c
+cfile_str2ind $SRCDIR/cci_fbss.c
+cfile_str2ind $SRCDIR/cci_hw_sim.c
+cfile_str2ind $SRCDIR/cci_qf.c
+cfile_str2ind $SRCDIR/cci_qp.c
+cfile_str2ind $SRCDIR/cci_qs.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/cci_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,89 @@
+# Building cci_ir.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DLL_DESC"
+CPPFLAGS="$CPPFLAGS -DCCI_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-gprs/llc"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-gprs/cci"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/g23m-gprs/cci
+
+cfile_str2ind $SRCDIR/cci_gea_start.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/cl	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,68 @@
+# Building cl.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gprs/cl
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/cl_nwrl.c
+cfile_str2ind $SRCDIR/clqos.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/comlib	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,71 @@
+# Building comlib.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DCL_IMEI_CALYPSO_PLATFORM"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/condat2/com/src/comlib
+
+if [ "$SRVC" != 0 ]
+then
+	cfile_str2ind $SRCDIR/cl_ribu.c
+fi
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/cl_rlcmac.c
+fi
+
+cfile_str2ind $SRCDIR/cl_md5.c
+cfile_str2ind $SRCDIR/cl_imei.c
+cfile_str2ind $SRCDIR/cl_des.c
+cfile_str2ind $SRCDIR/cl_shrd.c
+cfile_str2ind $SRCDIR/cl_list.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/config_gprs_fl	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,100 @@
+# Building config_gprs_fl.lib for the TCS2/TCS3 hybrid configuration
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCONFIG_MODULE"
+CPPFLAGS="$CPPFLAGS -DNU_DEBUG"
+CPPFLAGS="$CPPFLAGS -DPRIM_0_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_1_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_2_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_3_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+CPPFLAGS="$CPPFLAGS -DCTRACE"
+CPPFLAGS="$CPPFLAGS -DDATA_EXT_RAM"
+CPPFLAGS="$CPPFLAGS -DFF_UPM"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat2/frame/config"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/condat2/frame/config
+
+cfile_str2ind $SRCDIR/gprscomp.c
+cfile_str2ind $SRCDIR/custcomp.c
+cfile_str2ind $SRCDIR/gprsinit.c
+cfile_str2ind $SRCDIR/gprsdrv.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/config_gprs_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,97 @@
+# Building config_gprs_ir.lib for the TCS2/TCS3 hybrid configuration
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCONFIG_MODULE"
+CPPFLAGS="$CPPFLAGS -DNU_DEBUG"
+CPPFLAGS="$CPPFLAGS -DPRIM_0_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_1_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_2_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_3_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+CPPFLAGS="$CPPFLAGS -DCTRACE"
+CPPFLAGS="$CPPFLAGS -DDATA_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DFF_UPM"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat2/frame/config"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/condat2/frame/config
+
+cfile_str2ind $SRCDIR/gprscomp.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/config_gsm_fl	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,102 @@
+# Building config_gsm_fl.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCONFIG_MODULE"
+CPPFLAGS="$CPPFLAGS -DNU_DEBUG"
+CPPFLAGS="$CPPFLAGS -DPRIM_0_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_1_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_2_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_3_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DTEST_0_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DTEST_1_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DTEST_2_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DDMEM_0_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+CPPFLAGS="$CPPFLAGS -DCTRACE"
+CPPFLAGS="$CPPFLAGS -DDATA_EXT_RAM"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/src/config"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/condat2/com/src/config
+
+cfile_str2ind $SRCDIR/gsmcomp.c
+cfile_str2ind $SRCDIR/custcomp.c
+cfile_str2ind $SRCDIR/gsminit.c
+cfile_str2ind $SRCDIR/gsmdrv.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/config_gsm_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,99 @@
+# Building config_gsm_ir.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCONFIG_MODULE"
+CPPFLAGS="$CPPFLAGS -DNU_DEBUG"
+CPPFLAGS="$CPPFLAGS -DPRIM_0_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_1_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_2_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_3_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DTEST_0_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DTEST_1_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DTEST_2_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DDMEM_0_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+CPPFLAGS="$CPPFLAGS -DCTRACE"
+CPPFLAGS="$CPPFLAGS -DDATA_INT_RAM"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/src/config"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/condat2/com/src/config
+
+cfile_str2ind $SRCDIR/gsmcomp.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/cst	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,70 @@
+# Building cst.lib
+
+CFLAGS="-mt -o -x -mw -me -pw2"
+
+# Defines
+
+CPPFLAGS=-DNTRACE
+CPPFLAGS="$CPPFLAGS -D_TARGET"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DSMI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+
+if [ "$DISABLE_SLEEP" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DDISABLE_SLEEP"
+fi
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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"
+
+# Source modules
+
+SRCDIR=$SRC/cs/services/cst
+
+cfile_plain $SRCDIR/cst_csf.c
+cfile_plain $SRCDIR/cst_exts.c
+cfile_plain $SRCDIR/cst_pei.c
+cfile_plain $SRCDIR/cst_stack.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/dar	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,55 @@
+# Building dar.lib
+
+CFLAGS="-mn -mt -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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"
+
+# Source modules
+
+SRCDIR=$SRC/cs/services/dar
+
+cfile_plain $SRCDIR/dar_env.c
+cfile_plain $SRCDIR/dar_api.c
+cfile_plain $SRCDIR/dar_task.c
+cfile_plain $SRCDIR/dar_handle_message.c
+cfile_plain $SRCDIR/dar_diagnose.c
+cfile_plain $SRCDIR/dar_error_hdlr.c
+cfile_plain $SRCDIR/dar_msg_ft.c
+cfile_plain $SRCDIR/dar_watchdog.c
+cfile_plain $SRCDIR/dar_emergency.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/dar_gbl_var	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,47 @@
+# Building dar_gbl_var.lib
+
+CFLAGS="-mn -mt -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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"
+
+# Source modules
+
+SRCDIR=$SRC/cs/services/dar
+
+cfile_plain $SRCDIR/dar_gbl_var.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/dl	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,72 @@
+# Building dl.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version dl
+cfile_plain dl_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gsm/dl
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/dl_com.c
+cfile_str2ind $SRCDIR/dl_dph.c
+cfile_str2ind $SRCDIR/dl_drr.c
+cfile_str2ind $SRCDIR/dl_pei.c
+cfile_str2ind $SRCDIR/dl_dcch0.c
+cfile_str2ind $SRCDIR/dl_dcch3.c
+cfile_str2ind $SRCDIR/dl_sacch0.c
+cfile_str2ind $SRCDIR/dl_state.c
+cfile_str2ind $SRCDIR/dl_trace.c
+cfile_str2ind $SRCDIR/dl_signal.c
+cfile_str2ind $SRCDIR/dl_trc.c
+cfile_str2ind $SRCDIR/dl_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/drivers_flash	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,71 @@
+# Building drivers_flash.lib
+
+CFLAGS="-me -pw2 -mn -x -mt -o2 -mw"
+CPPFLAGS="-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/riviera"
+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/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"
+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"
+
+SRCDIR=$SRC/cs/drivers/drv_core
+
+# 1st set of source modules
+
+cfile_plain $SRCDIR/dsp_dwnld/leadapi.c
+cfile_plain $SRCDIR/inth/niq.c
+cfile_plain $SRCDIR/uart/uart.c
+cfile_plain $SRCDIR/inth/inth.c
+cfile_plain $SRCDIR/timer/timer.c
+cfile_plain $SRCDIR/timer/timer1.c
+cfile_plain $SRCDIR/timer/timer2.c
+cfile_plain $SRCDIR/timer/timer_sec.c
+cfile_plain $SRCDIR/security/certificate.c
+cfile_plain $SRCDIR/clkm/clkm.c
+cfile_plain $SRCDIR/armio/armio.c
+
+# 2nd set of source modules
+
+CFLAGS="-me -pw2 -mn -mt"
+
+cfile_plain $SRCDIR/spi/spi_drv.c
+cfile_plain $SRCDIR/abb/abb.c
+cfile_plain $SRCDIR/abb/abb_core_inth.c
+
+# niq32
+
+CFLAGS="-me -pw2 -x -o -mw"
+
+cfile_plain $SRCDIR/inth/niq32.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/dti	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,85 @@
+# Building dti.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version dti
+cfile_plain dti_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-aci/dti
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_dti_mng"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/dti_kerf.c
+cfile_str2ind $SRCDIR/dti_kerp.c
+cfile_str2ind $SRCDIR/dti_int.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/etm	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,54 @@
+# Building etm.lib
+
+CFLAGS="-mn -mt -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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"
+
+# Source modules
+
+SRCDIR=$SRC/cs/services/etm
+
+cfile_plain $SRCDIR/etm_task.c
+cfile_plain $SRCDIR/etm_env.c
+cfile_plain $SRCDIR/etm_api.c
+cfile_plain $SRCDIR/etm_trace.c
+cfile_plain $SRCDIR/etm_at.c
+cfile_plain $SRCDIR/etm_audio.c
+cfile_plain $SRCDIR/etm_tmcore.c
+cfile_plain $SRCDIR/etm_tmpwr.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/fad	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,79 @@
+# Building fad.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version fad
+cfile_plain fad_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+CPPFLAGS="$CPPFLAGS -DFF_FAX"
+CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DSRVC=1"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-fad/fad
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/fad_kerf.c
+cfile_str2ind $SRCDIR/fad_kerp.c
+cfile_str2ind $SRCDIR/fad_kers.c
+cfile_str2ind $SRCDIR/fad_pei.c
+cfile_str2ind $SRCDIR/fad_rbm.c
+cfile_str2ind $SRCDIR/fad_rcvf.c
+cfile_str2ind $SRCDIR/fad_rcvp.c
+cfile_str2ind $SRCDIR/fad_rcvs.c
+cfile_str2ind $SRCDIR/fad_sbm.c
+cfile_str2ind $SRCDIR/fad_sndf.c
+cfile_str2ind $SRCDIR/fad_sndp.c
+cfile_str2ind $SRCDIR/fad_snds.c
+cfile_str2ind $SRCDIR/fad_tim.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/fchg	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,44 @@
+# Building FCHG SWE - an original FreeCalypso addition
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/fchg
+
+cfile_plain $SRCDIR/fchg_api.c
+cfile_plain $SRCDIR/fchg_default_batt.c
+cfile_plain $SRCDIR/fchg_env.c
+cfile_plain $SRCDIR/fchg_ffs_init.c
+cfile_plain $SRCDIR/fchg_messages.c
+cfile_plain $SRCDIR/fchg_process.c
+cfile_plain $SRCDIR/fchg_task.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ffs	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,62 @@
+# Building ffs.lib
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+
+# Defines
+
+CPPFLAGS="-DWITH_TFFS=0 -DTMFFS2"
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA=FAX_AND_DATA"
+fi
+CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/ffs/board
+
+cfile_plain $SRCDIR/amdsbdrv.c
+cfile_plain $SRCDIR/core.c
+cfile_plain $SRCDIR/drv.c
+cfile_plain $SRCDIR/ffstrace.c
+cfile_plain $SRCDIR/fsck.c
+cfile_plain $SRCDIR/intelsbdrv.c
+cfile_plain $SRCDIR/reclaim.c
+
+# ffs_target.c generation
+
+helpers/makeline dep ffs_target.c $SRCDIR/ffs.c $SRCDIR/mktarget.pl \
+	>> $BUILD_DIR/$LIBNAME/Makefile
+helpers/makeline cmd perl -w $SRCDIR/mktarget.pl $SRCDIR . \
+	>> $BUILD_DIR/$LIBNAME/Makefile
+echo >> $BUILD_DIR/$LIBNAME/Makefile
+
+cfile_plain ffs_target.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ffs_drv	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,94 @@
+# Building ffs_drv.lib
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+
+# Defines
+
+CPPFLAGS="-DWITH_TFFS=0 -DTMFFS2"
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA=FAX_AND_DATA"
+fi
+CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/ffs/board
+
+cfile_plain $SRCDIR/cfgffs.c
+cfile_plain $SRCDIR/dev.c
+cfile_plain $SRCDIR/pcmcode.c
+cfile_plain $SRCDIR/task.c
+cfile_plain $SRCDIR/tmffs.c
+
+# Different CFLAGS and CPPFLAGS for ffs_env.c
+
+CFLAGS="-mn -mt -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+cfile_plain $SRCDIR/ffs_env.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ffs_pcm	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,45 @@
+# Building ffs_pcm.lib
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+
+# Defines
+
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA=FAX_AND_DATA"
+fi
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/ffs/board
+
+cfile_plain $SRCDIR/pcmdata.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/frame_na7_db_fl	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,51 @@
+# Building frame_na7_db_fl.lib using the GPF source bits we got with TCS3.2
+
+CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_FLASH"
+CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"
+
+# Source modules
+
+SRCDIR=$SRC/gpf3/frame
+
+cfile_plain $SRCDIR/frame.c
+cfile_plain $SRCDIR/vsi_sem.c
+cfile_plain $SRCDIR/vsi_com.c
+cfile_plain $SRCDIR/vsi_mem.c
+cfile_plain $SRCDIR/vsi_tim.c
+cfile_plain $SRCDIR/vsi_mis.c
+cfile_plain $SRCDIR/vsi_drv.c
+cfile_plain $SRCDIR/vsi_trc.c
+cfile_plain $SRCDIR/vsi_pro.c
+cfile_plain $SRCDIR/xalert.c
+cfile_plain $SRCDIR/route.c
+cfile_plain $SRCDIR/prf_func.c
+cfile_plain $SRCDIR/frm_ext.c
+cfile_plain $SRCDIR/frame_version.c
+
+# OSL
+
+# drop -o3
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+SRCDIR=$SRC/gpf2/osl
+
+cfile_plain $SRCDIR/os_com_fl.c
+cfile_plain $SRCDIR/os_drv.c
+cfile_plain $SRCDIR/os_isr.c
+cfile_plain $SRCDIR/os_mem_fl.c
+cfile_plain $SRCDIR/os_mis_fl.c
+cfile_plain $SRCDIR/os_pro_fl.c
+cfile_plain $SRCDIR/os_sem_fl.c
+cfile_plain $SRCDIR/os_tim_fl.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/frame_na7_db_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,49 @@
+# Building frame_na7_db_ir.lib using the GPF source bits we got with TCS3.2
+
+CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM"
+CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"
+
+# Source modules
+
+SRCDIR=$SRC/gpf3/frame
+
+cfile_plain $SRCDIR/frame.c
+cfile_plain $SRCDIR/vsi_sem.c
+cfile_plain $SRCDIR/vsi_com.c
+cfile_plain $SRCDIR/vsi_mem.c
+cfile_plain $SRCDIR/vsi_tim.c
+cfile_plain $SRCDIR/vsi_mis.c
+cfile_plain $SRCDIR/vsi_drv.c
+cfile_plain $SRCDIR/vsi_trc.c
+cfile_plain $SRCDIR/vsi_pro.c
+cfile_plain $SRCDIR/xalert.c
+cfile_plain $SRCDIR/route.c
+cfile_plain $SRCDIR/prf_func.c
+cfile_plain $SRCDIR/frm_ext.c
+cfile_plain $SRCDIR/frame_version.c
+
+# OSL
+
+# drop -o3
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+SRCDIR=$SRC/gpf2/osl
+
+cfile_plain $SRCDIR/os_com_ir.c
+cfile_plain $SRCDIR/os_mem_ir.c
+cfile_plain $SRCDIR/os_mis_ir.c
+cfile_plain $SRCDIR/os_pro_ir.c
+cfile_plain $SRCDIR/os_sem_ir.c
+cfile_plain $SRCDIR/os_tim_ir.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gdi	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,122 @@
+# Building gdi.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DMMI_HOMEZONE_ENABLED"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
+fi
+
+CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
+CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
+
+case "$UI_CONFIG" in
+	bigcolor)
+		CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
+		CPPFLAGS="$CPPFLAGS -DLSCREEN"
+		;;
+	bigbw)
+		CPPFLAGS="$CPPFLAGS -DLSCREEN"
+		;;
+	84x48)
+		;;
+	*)
+		echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
+		exit 1
+esac
+
+CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
+CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
+CPPFLAGS="$CPPFLAGS -DTRGT_G23"
+CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+CPPFLAGS="$CPPFLAGS -DCUST=0"
+CPPFLAGS="$CPPFLAGS -DTESTMODE=1"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/src/driver"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/condat2/com/src/driver
+
+cfile_str2ind $SRCDIR/audio.c
+cfile_str2ind $SRCDIR/display.c
+cfile_str2ind $SRCDIR/keypad.c
+cfile_str2ind $SRCDIR/light.c
+cfile_str2ind $SRCDIR/power.c
+cfile_str2ind $SRCDIR/rx.c
+cfile_str2ind $SRCDIR/em.c
+cfile_str2ind $SRCDIR/rtc.c
+cfile_str2ind $SRCDIR/vmd.c
+cfile_str2ind $SRCDIR/font_bitmaps.c
+cfile_str2ind $SRCDIR/ffs_coat.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gmm	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,106 @@
+# Building gmm.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gprs/gmm
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/gmm_f.c
+cfile_str2ind $SRCDIR/gmm_pei.c
+cfile_str2ind $SRCDIR/gmm_kernf.c
+cfile_str2ind $SRCDIR/gmm_kernl.c
+cfile_str2ind $SRCDIR/gmm_kernp.c
+cfile_str2ind $SRCDIR/gmm_kerns.c
+cfile_str2ind $SRCDIR/gmm_txf.c
+cfile_str2ind $SRCDIR/gmm_txp.c
+cfile_str2ind $SRCDIR/gmm_txs.c
+cfile_str2ind $SRCDIR/gmm_rxf.c
+cfile_str2ind $SRCDIR/gmm_rxp.c
+cfile_str2ind $SRCDIR/gmm_rxs.c
+cfile_str2ind $SRCDIR/gmm_rdyf.c
+cfile_str2ind $SRCDIR/gmm_rdyp.c
+cfile_str2ind $SRCDIR/gmm_rdys.c
+cfile_str2ind $SRCDIR/gmm_syncf.c
+cfile_str2ind $SRCDIR/gmm_syncp.c
+cfile_str2ind $SRCDIR/gmm_syncs.c
+cfile_str2ind $SRCDIR/gmm_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/grlc	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,87 @@
+# Building grlc.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DTRACE_FKT"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gprs/grlc
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/grlc_f.c
+cfile_str2ind $SRCDIR/grlc_gfff.c
+cfile_str2ind $SRCDIR/grlc_gffp.c
+cfile_str2ind $SRCDIR/grlc_gffs.c
+cfile_str2ind $SRCDIR/grlc_measf.c
+cfile_str2ind $SRCDIR/grlc_measp.c
+cfile_str2ind $SRCDIR/grlc_meass.c
+cfile_str2ind $SRCDIR/grlc_pei.c
+cfile_str2ind $SRCDIR/grlc_rdf.c
+cfile_str2ind $SRCDIR/grlc_rdp.c
+cfile_str2ind $SRCDIR/grlc_rds.c
+cfile_str2ind $SRCDIR/grlc_ruf.c
+cfile_str2ind $SRCDIR/grlc_rup.c
+cfile_str2ind $SRCDIR/grlc_rus.c
+cfile_str2ind $SRCDIR/grlc_tmf.c
+cfile_str2ind $SRCDIR/grlc_tmp.c
+cfile_str2ind $SRCDIR/grlc_tms.c
+cfile_str2ind $SRCDIR/grlc_tpcg.c
+cfile_str2ind $SRCDIR/grlc_tpcs.c
+cfile_str2ind $SRCDIR/grlc_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/grlc_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,69 @@
+# Building grlc_ir.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DTRACE_FKT"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+CPPFLAGS="$CPPFLAGS -D_BOARD_=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gprs/grlc
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/grlc_func.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/grr	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,113 @@
+# Building grr.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DTRACE_FKT"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gprs/grr
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/grr_cpapf.c
+cfile_str2ind $SRCDIR/grr_cpapp.c
+cfile_str2ind $SRCDIR/grr_cpaps.c
+cfile_str2ind $SRCDIR/grr_csf.c
+cfile_str2ind $SRCDIR/grr_csp.c
+cfile_str2ind $SRCDIR/grr_css.c
+cfile_str2ind $SRCDIR/grr_ctrlf.c
+cfile_str2ind $SRCDIR/grr_ctrlp.c
+cfile_str2ind $SRCDIR/grr_ctrls.c
+cfile_str2ind $SRCDIR/grr_em.c
+cfile_str2ind $SRCDIR/grr_f.c
+cfile_str2ind $SRCDIR/grr_gfpf.c
+cfile_str2ind $SRCDIR/grr_gfpp.c
+cfile_str2ind $SRCDIR/grr_meass.c
+cfile_str2ind $SRCDIR/grr_measp.c
+cfile_str2ind $SRCDIR/grr_measf.c
+cfile_str2ind $SRCDIR/grr_pei.c
+cfile_str2ind $SRCDIR/grr_pgf.c
+cfile_str2ind $SRCDIR/grr_pgp.c
+cfile_str2ind $SRCDIR/grr_pgs.c
+cfile_str2ind $SRCDIR/grr_psif.c
+cfile_str2ind $SRCDIR/grr_psip.c
+cfile_str2ind $SRCDIR/grr_psis.c
+cfile_str2ind $SRCDIR/grr_tcf.c
+cfile_str2ind $SRCDIR/grr_tcp.c
+cfile_str2ind $SRCDIR/grr_tcs.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/kpd	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,47 @@
+# Building kpd.lib
+
+CFLAGS="-mn -mt -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/kpd
+
+cfile_plain $SRCDIR/kpd_api.c
+cfile_plain $SRCDIR/kpd_functions.c
+cfile_plain $SRCDIR/kpd_power_api.c
+cfile_plain $SRCDIR/kpd_process_internal_msg.c
+cfile_plain $SRCDIR/kpd_virtual_key_table_mgt.c
+cfile_plain $SRCDIR/kpd_env.c
+cfile_plain $SRCDIR/kpd_handle_message.c
+cfile_plain $SRCDIR/kpd_handle_timer.c
+cfile_plain $SRCDIR/kpd_task.c
+cfile_plain $SRCDIR/board/kpd_scan_functions.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/l1_custom_ext	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,57 @@
+# Building l1_custom_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/audio_cust0/l1audio_cust.c
+cfile_plain $SRCDIR/tm_cust0/l1tm_cust.c
+cfile_plain $SRCDIR/tm_cust0/l1tm_tpu${RF}.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/l1_custom_int	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,56 @@
+# Building l1_custom_int.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/cust0/l1_cust.c
+cfile_plain $SRCDIR/cust0/ind_os.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/l1_ext	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,130 @@
+# 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
+
+cfile_plain $SRCDIR/tm_cfile/l1tm_async.c
+cfile_plain $SRCDIR/tm_cfile/l1tm_func.c
+cfile_plain $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
+
+#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
+
+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
+else
+	cfile_plain $SRCDIR/dsp1/patch_file${DSP}_${CHIPSET}.c
+fi
+
+cfile_plain $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
+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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/l1_int	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,112 @@
+# Building l1_int.lib
+
+SRCDIR=$SRC/cs/layer1
+
+# *_intram.c generation
+
+helpers/makeline dep l1_cmplx_intram.c $SRCDIR/cfile/l1_cmplx.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 l1_sync_intram.c $SRCDIR/cfile/l1_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
+
+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"
+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
+
+cfile_plain $SRCDIR/cfile/l1_func.c
+cfile_plain $SRCDIR/cfile/l1_drive.c
+cfile_plain $SRCDIR/cfile/l1_mfmgr.c
+cfile_plain $SRCDIR/cfile/l1_ctl.c
+cfile_plain $SRCDIR/audio_cfile/l1audio_func.c
+cfile_plain $SRCDIR/audio_cfile/l1audio_sync.c
+#cfile_plain $SRCDIR/gtt_cfile/ctm/viterbi.c
+#cfile_plain $SRCDIR/gtt_cfile/ctm/wait_for_sync.c
+cfile_plain $SRCDIR/dl1/dl1_com.c
+cfile_plain $SRCDIR/cfile/l1_api_hisr.c
+
+if [ "$GPRS" = 1 ]
+then
+	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
+cfile_plain l1_sync_intram.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_plain l1p_cmpl_intram.c
+	cfile_plain l1p_sync_intram.c
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/l1_pei	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,51 @@
+# Building l1_pei.lib
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version l1 l1_pei
+cfile_plain l1_pei_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DALR=1"
+CPPFLAGS="$CPPFLAGS -DNCONF"
+CPPFLAGS="$CPPFLAGS -DNTRACE"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gsm/l1
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/l1_pei.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/l2r	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,102 @@
+# Building l2r.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version l2r
+cfile_plain l2r_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+
+if [ "$SRVC" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFF_FAX"
+fi
+
+CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-fad/l2r
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/l2r_dnf.c
+cfile_str2ind $SRCDIR/l2r_dnp.c
+cfile_str2ind $SRCDIR/l2r_dns.c
+cfile_str2ind $SRCDIR/l2r_mgtf.c
+cfile_str2ind $SRCDIR/l2r_mgtp.c
+cfile_str2ind $SRCDIR/l2r_mgts.c
+cfile_str2ind $SRCDIR/l2r_pei.c
+cfile_str2ind $SRCDIR/l2r_ups.c
+cfile_str2ind $SRCDIR/l2r_tim.c
+cfile_str2ind $SRCDIR/l2r_upf.c
+cfile_str2ind $SRCDIR/l2r_upp.c
+cfile_str2ind $SRCDIR/tra_mgts.c
+cfile_str2ind $SRCDIR/tra_mgtf.c
+cfile_str2ind $SRCDIR/tra_mgtp.c
+cfile_str2ind $SRCDIR/tra_dns.c
+cfile_str2ind $SRCDIR/tra_dnf.c
+cfile_str2ind $SRCDIR/tra_dnp.c
+cfile_str2ind $SRCDIR/tra_ups.c
+cfile_str2ind $SRCDIR/tra_upf.c
+cfile_str2ind $SRCDIR/tra_upp.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/llc	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,101 @@
+# Building llc.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DLL_DESC"
+CPPFLAGS="$CPPFLAGS -DCC_CONCEPT"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-gprs/cci"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-gprs/llc"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+SRCDIR=$SRC/g23m-gprs/llc
+
+cfile_str2ind $SRCDIR/llc_f.c
+cfile_str2ind $SRCDIR/llc_irxf.c
+cfile_str2ind $SRCDIR/llc_irxl.c
+cfile_str2ind $SRCDIR/llc_irxp.c
+cfile_str2ind $SRCDIR/llc_irxs.c
+cfile_str2ind $SRCDIR/llc_itxf.c
+cfile_str2ind $SRCDIR/llc_itxp.c
+cfile_str2ind $SRCDIR/llc_itxs.c
+cfile_str2ind $SRCDIR/llc_itxt.c
+cfile_str2ind $SRCDIR/llc_llmef.c
+cfile_str2ind $SRCDIR/llc_llmep.c
+cfile_str2ind $SRCDIR/llc_llmes.c
+cfile_str2ind $SRCDIR/llc_pei.c
+cfile_str2ind $SRCDIR/llc_rxf.c
+cfile_str2ind $SRCDIR/llc_rxp.c
+cfile_str2ind $SRCDIR/llc_rxs.c
+cfile_str2ind $SRCDIR/llc_t200f.c
+cfile_str2ind $SRCDIR/llc_t200p.c
+cfile_str2ind $SRCDIR/llc_t200s.c
+cfile_str2ind $SRCDIR/llc_txf.c
+cfile_str2ind $SRCDIR/llc_txl.c
+cfile_str2ind $SRCDIR/llc_txp.c
+cfile_str2ind $SRCDIR/llc_txs.c
+cfile_str2ind $SRCDIR/llc_uf.c
+cfile_str2ind $SRCDIR/llc_uirxf.c
+cfile_str2ind $SRCDIR/llc_uirxp.c
+cfile_str2ind $SRCDIR/llc_uirxs.c
+cfile_str2ind $SRCDIR/llc_uitxf.c
+cfile_str2ind $SRCDIR/llc_uitxp.c
+cfile_str2ind $SRCDIR/llc_uitxs.c
+cfile_str2ind $SRCDIR/llc_up.c
+cfile_str2ind $SRCDIR/llc_us.c
+cfile_str2ind $SRCDIR/llc_ul.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/lls	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,40 @@
+# Building lls.lib
+
+CFLAGS="-mn -mt -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+
+# Source modules
+
+SRCDIR=$SRC/cs/services/lls
+
+cfile_plain $SRCDIR/lls_api.c
+cfile_plain $SRCDIR/lls_env.c
+cfile_plain $SRCDIR/lls_functions.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/main	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,81 @@
+# Building main.lib with recompilation of the init module
+
+# C modules
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+if [ "$TARGET" = c139 -o "$TARGET" = c11x ]
+then
+	CPPFLAGS="$CPPFLAGS -DCONFIG_RVTMUX_ON_MODEM"
+fi
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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"
+
+SRCDIR=$SRC/cs/system/Main
+
+cfile_plain $SRCDIR/init.c
+cfile_plain $SRCDIR/create_RVtasks.c
+cfile_plain $SRCDIR/main.c
+cfile_plain $SRCDIR/sys_dummy.c
+
+# Different CFLAGS for mem_load.c
+
+CFLAGS="-o -mw -me -pw2"
+
+cfile_plain $SRCDIR/mem_load.c
+
+# Assembly module
+
+ASMFLAGS=-me
+ASMFLAGS="$ASMFLAGS -dBOARD=41"
+ASMFLAGS="$ASMFLAGS -dCHIPSET=$CHIPSET"
+ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3"
+ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0"
+ASMFLAGS="$ASMFLAGS -dR2D_ASM=0"
+ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0"
+ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0"
+ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"
+ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS"
+ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
+ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
+
+asm_file $SRCDIR/int.s
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/misc_na7_db_fl	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,23 @@
+# Building misc_na7_db_fl.lib using the GPF source bits we got with TCS211
+
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_FLASH"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/misc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+
+# Source modules
+
+SRCDIR=$SRC/gpf2/misc
+
+cfile_plain $SRCDIR/printtofile.c
+cfile_plain $SRCDIR/tok.c
+cfile_plain $SRCDIR/tools.c
+cfile_plain $SRCDIR/misc_version.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/misc_na7_db_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,23 @@
+# Building misc_na7_db_ir.lib using the GPF source bits we got with TCS211
+
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_INT_RAM"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/misc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+
+# Source modules
+
+SRCDIR=$SRC/gpf2/misc
+
+cfile_plain $SRCDIR/printtofile.c
+cfile_plain $SRCDIR/tok.c
+cfile_plain $SRCDIR/tools.c
+cfile_plain $SRCDIR/misc_version.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/mm	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,115 @@
+# Building mm.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version mm
+cfile_plain mm_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gsm/mm
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/mm_csf.c
+cfile_str2ind $SRCDIR/mm_forf.c
+cfile_str2ind $SRCDIR/mm_forp.c
+cfile_str2ind $SRCDIR/mm_mmf.c
+cfile_str2ind $SRCDIR/mm_mmp.c
+cfile_str2ind $SRCDIR/mm_mms.c
+cfile_str2ind $SRCDIR/mm_pei.c
+cfile_str2ind $SRCDIR/mm_regf.c
+cfile_str2ind $SRCDIR/mm_regp.c
+cfile_str2ind $SRCDIR/mm_regs.c
+cfile_str2ind $SRCDIR/mm_tim.c
+cfile_str2ind $SRCDIR/mm_fors.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/mm_gmm.c
+	cfile_str2ind $SRCDIR/mm_gprs.c
+	cfile_str2ind $SRCDIR/mm_gprsp.c
+fi
+
+cfile_str2ind $SRCDIR/mm_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/osx_na7_db	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,19 @@
+# Building osx_na7_db.lib from our reconstructed osx.c source
+
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-D_TARGET_ -D_NUCLEUS_"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+
+# Source modules
+
+SRCDIR=$SRC/gpf2/frame/cust_os
+
+cfile_plain $SRCDIR/osx.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/power	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,46 @@
+# Building power.lib
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470 -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/power
+
+cfile_plain $SRCDIR/board/power.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ppp	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,99 @@
+# Building ppp.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DDTILIB"
+CPPFLAGS="$CPPFLAGS -DPPP_FLASH_ROM"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-fad/ppp
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/ppp_arbf.c
+cfile_str2ind $SRCDIR/ppp_arbp.c
+cfile_str2ind $SRCDIR/ppp_arbs.c
+cfile_str2ind $SRCDIR/ppp_frxf.c
+cfile_str2ind $SRCDIR/ppp_frxp.c
+cfile_str2ind $SRCDIR/ppp_frxs.c
+cfile_str2ind $SRCDIR/ppp_ftxf.c
+#cfile_str2ind $SRCDIR/ppp_ftxp.c
+cfile_str2ind $SRCDIR/ppp_ftxs.c
+cfile_str2ind $SRCDIR/ppp_lcpf.c
+cfile_str2ind $SRCDIR/ppp_lcpp.c
+cfile_str2ind $SRCDIR/ppp_lcps.c
+cfile_str2ind $SRCDIR/ppp_onaf.c
+cfile_str2ind $SRCDIR/ppp_onap.c
+cfile_str2ind $SRCDIR/ppp_onas.c
+cfile_str2ind $SRCDIR/ppp_ncpf.c
+cfile_str2ind $SRCDIR/ppp_ncpp.c
+cfile_str2ind $SRCDIR/ppp_ncps.c
+cfile_str2ind $SRCDIR/ppp_papf.c
+cfile_str2ind $SRCDIR/ppp_papp.c
+cfile_str2ind $SRCDIR/ppp_paps.c
+cfile_str2ind $SRCDIR/ppp_capf.c
+cfile_str2ind $SRCDIR/ppp_capp.c
+cfile_str2ind $SRCDIR/ppp_caps.c
+cfile_str2ind $SRCDIR/ppp_pei.c
+cfile_str2ind $SRCDIR/ppp_prxf.c
+cfile_str2ind $SRCDIR/ppp_prxp.c
+cfile_str2ind $SRCDIR/ppp_prxs.c
+cfile_str2ind $SRCDIR/ppp_ptxf.c
+cfile_str2ind $SRCDIR/ppp_ptxp.c
+cfile_str2ind $SRCDIR/ppp_ptxs.c
+cfile_str2ind $SRCDIR/ppp_rtf.c
+cfile_str2ind $SRCDIR/ppp_rtp.c
+cfile_str2ind $SRCDIR/ppp_rts.c
+cfile_str2ind $SRCDIR/ppp_tbls.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ppp_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,67 @@
+# Building ppp_ir.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DDTILIB"
+CPPFLAGS="$CPPFLAGS -DPPP_INT_RAM"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-fad/ppp
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/ppp_frxf.c
+cfile_str2ind $SRCDIR/ppp_ftxf.c
+cfile_str2ind $SRCDIR/ppp_tbls.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ra	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,72 @@
+# Building ra.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version ra
+cfile_plain ra_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+
+if [ "$SRVC" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFF_FAX"
+fi
+
+CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-fad/ra
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/ra_tra.c
+cfile_str2ind $SRCDIR/ra_shm.c
+cfile_str2ind $SRCDIR/ra_rlp.c
+cfile_str2ind $SRCDIR/ra_l1int.c
+
+if [ "$SRVC" = 1 ]
+then
+	cfile_str2ind $SRCDIR/ra_fax.c
+fi
+
+cfile_str2ind $SRCDIR/ra_dll.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/riviera_core_flash	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,51 @@
+# Building riviera_core_flash.lib
+
+CFLAGS="-mn -mt -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/riviera
+
+cfile_plain $SRCDIR/rvf/rvf_buffer.c
+cfile_plain $SRCDIR/rvf/rvf_msg.c
+cfile_plain $SRCDIR/rvf/rvf_task.c
+cfile_plain $SRCDIR/rvf/rvf_time.c
+cfile_plain $SRCDIR/rvm/rvm_api.c
+cfile_plain $SRCDIR/rvm/rvm_group_swe.c
+cfile_plain $SRCDIR/rvm/rvm_mem.c
+cfile_plain $SRCDIR/rvm/rvm_swe_db.c
+cfile_plain $SRCDIR/rvm/rvm_swe_hdlr.c
+cfile_plain $SRCDIR/rvm/rvm_task.c
+cfile_plain $SRCDIR/support/exception.c
+cfile_plain $SRCDIR/rvf/rvf_trace_adapt.c
+cfile_plain $SRCDIR/rvt/ti_profiler/ti_profiler.c
+cfile_plain $SRCDIR/rvt/ti_profiler/ti_profiler_env.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/riviera_cust_flash	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,56 @@
+# Building riviera_cust_flash.lib
+
+CFLAGS="-mn -mt -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+if [ "$MMI" = 0 ]
+then
+	case "$TARGET" in
+		c11x|c139)
+			CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE"
+			;;
+		pirelli)
+			CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE"
+			CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_USB"
+			;;
+	esac
+fi
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/riviera
+
+cfile_plain $SRCDIR/rvf/rvf_mem_pool.c
+cfile_plain $SRCDIR/rvm/rvm_swe.c
+cfile_plain $SRCDIR/rvt/rvt_api.c
+cfile_plain $SRCDIR/rvt/rvt_env.c
+cfile_plain $SRCDIR/rvt/rvt_task.c
+cfile_plain $SRCDIR/rvt/rvt_keepalive.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/rlp	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,85 @@
+# Building rlp.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version rlp
+cfile_plain rlp_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+
+if [ "$SRVC" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFF_FAX"
+fi
+
+CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-fad/rlp
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/rlp_kerf.c
+cfile_str2ind $SRCDIR/rlp_kerp.c
+cfile_str2ind $SRCDIR/rlp_kers.c
+cfile_str2ind $SRCDIR/rlp_pei.c
+cfile_str2ind $SRCDIR/rlp_rbm.c
+cfile_str2ind $SRCDIR/rlp_rcvf.c
+cfile_str2ind $SRCDIR/rlp_rcvp.c
+cfile_str2ind $SRCDIR/rlp_rcvs.c
+cfile_str2ind $SRCDIR/rlp_sbm.c
+cfile_str2ind $SRCDIR/rlp_sndf.c
+cfile_str2ind $SRCDIR/rlp_sndp.c
+cfile_str2ind $SRCDIR/rlp_snds.c
+cfile_str2ind $SRCDIR/rlp_srm.c
+cfile_str2ind $SRCDIR/rlp_tim.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/rr	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,118 @@
+# Building rr.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version rr
+cfile_plain rr_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gsm/rr
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/rr_attf.c
+cfile_str2ind $SRCDIR/rr_attp.c
+cfile_str2ind $SRCDIR/rr_atts.c
+cfile_str2ind $SRCDIR/rr_datf.c
+cfile_str2ind $SRCDIR/rr_datp.c
+cfile_str2ind $SRCDIR/rr_dats.c
+cfile_str2ind $SRCDIR/rr_forf.c
+cfile_str2ind $SRCDIR/rr_forp.c
+cfile_str2ind $SRCDIR/rr_fors.c
+cfile_str2ind $SRCDIR/rr_csf.c
+cfile_str2ind $SRCDIR/rr_pei.c
+cfile_str2ind $SRCDIR/rr_srv.c
+cfile_str2ind $SRCDIR/rr_tim.c
+cfile_str2ind $SRCDIR/rr_cs.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/rr_gprs.c
+	cfile_str2ind $SRCDIR/rr_datg.c
+	cfile_str2ind $SRCDIR/rr_attg.c
+fi
+
+cfile_str2ind $SRCDIR/rr_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/rtc_drv	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,42 @@
+# Building rtc_drv.lib
+
+CFLAGS="-mn -mt -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/rtc
+
+cfile_plain $SRCDIR/rtc_process.c
+cfile_plain $SRCDIR/rtc_env.c
+cfile_plain $SRCDIR/rtc_task.c
+cfile_plain $SRCDIR/rtc_handle_message.c
+cfile_plain $SRCDIR/board/rtc_functions.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sim_b_lib	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,93 @@
+# Building sim_b_lib.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version sim
+cfile_plain sim_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+if [ "$ALLOW_CSIM_GSM" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DALLOW_CSIM_GSM"
+fi
+
+# Includes
+
+SRCDIR=$SRC/g23m-gsm/sim
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/sim_app.c
+cfile_str2ind $SRCDIR/sim_fkt.c
+cfile_str2ind $SRCDIR/sim_pei.c
+cfile_str2ind $SRCDIR/sim_stk.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_str2ind $SRCDIR/sim_gprs.c
+fi
+
+cfile_str2ind $SRCDIR/sim_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sim_drv	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,82 @@
+# Building sim_drv.lib
+
+SRCDIR=$SRC/cs/drivers/drv_app/sim
+
+# CFLAGS and CPPFLAGS for sim.c
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+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"
+
+cfile_plain $SRCDIR/sim.c
+
+# CFLAGS and CPPFLAGS for sim32.c
+
+CFLAGS="-o -x -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+cfile_plain $SRCDIR/sim32.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sm	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,84 @@
+# Building sm.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DENTITY_SM"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gprs/sm
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/sm.c
+cfile_str2ind $SRCDIR/sm_aci_output_handler.c
+cfile_str2ind $SRCDIR/sm_context_control.c
+cfile_str2ind $SRCDIR/sm_context_deactivate_control.c
+cfile_str2ind $SRCDIR/sm_debug.c
+cfile_str2ind $SRCDIR/sm_dispatch_message.c
+cfile_str2ind $SRCDIR/sm_dispatcher.c
+cfile_str2ind $SRCDIR/sm_memory_handler.c
+cfile_str2ind $SRCDIR/sm_mm_output_handler.c
+cfile_str2ind $SRCDIR/sm_network_control.c
+cfile_str2ind $SRCDIR/sm_pei.c
+cfile_str2ind $SRCDIR/sm_qos.c
+cfile_str2ind $SRCDIR/sm_sequencer.c
+cfile_str2ind $SRCDIR/sm_tft.c
+cfile_str2ind $SRCDIR/sm_timer_handler.c
+cfile_str2ind $SRCDIR/sm_upm_output_handler.c
+cfile_str2ind $SRCDIR/sm_user_plane_control.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sms	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,71 @@
+# Building sms.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version sms
+cfile_plain sms_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gsm/sms
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/sms_cp.c
+cfile_str2ind $SRCDIR/sms_csf.c
+cfile_str2ind $SRCDIR/sms_for.c
+cfile_str2ind $SRCDIR/sms_pei.c
+cfile_str2ind $SRCDIR/sms_rl.c
+cfile_str2ind $SRCDIR/sms_time.c
+cfile_str2ind $SRCDIR/sms_tlf.c
+cfile_str2ind $SRCDIR/sms_tlp.c
+cfile_str2ind $SRCDIR/sms_tls.c
+cfile_str2ind $SRCDIR/sms_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sndcp	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,102 @@
+# Building sndcp.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -D_SNDCP_DTI_"
+CPPFLAGS="$CPPFLAGS -D_SNDCP_DTI_2_"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-gprs/dti"
+CPPFLAGS="$CPPFLAGS -I$SRC/g23m-gprs/sndcp"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+SRCDIR=$SRC/g23m-gprs/sndcp
+
+cfile_str2ind $SRCDIR/sndcp_f.c
+cfile_str2ind $SRCDIR/sndcp_mgf.c
+cfile_str2ind $SRCDIR/sndcp_mgp.c
+cfile_str2ind $SRCDIR/sndcp_mgs.c
+cfile_str2ind $SRCDIR/sndcp_ndf.c
+cfile_str2ind $SRCDIR/sndcp_ndp.c
+cfile_str2ind $SRCDIR/sndcp_nds.c
+cfile_str2ind $SRCDIR/sndcp_nuf.c
+cfile_str2ind $SRCDIR/sndcp_nup.c
+cfile_str2ind $SRCDIR/sndcp_nus.c
+cfile_str2ind $SRCDIR/sndcp_pdaf.c
+cfile_str2ind $SRCDIR/sndcp_pdap.c
+cfile_str2ind $SRCDIR/sndcp_pdas.c
+cfile_str2ind $SRCDIR/sndcp_pdf.c
+cfile_str2ind $SRCDIR/sndcp_pdp.c
+cfile_str2ind $SRCDIR/sndcp_pds.c
+cfile_str2ind $SRCDIR/sndcp_pei.c
+cfile_str2ind $SRCDIR/sndcp_sdaf.c
+cfile_str2ind $SRCDIR/sndcp_sdap.c
+cfile_str2ind $SRCDIR/sndcp_sdas.c
+cfile_str2ind $SRCDIR/sndcp_sdf.c
+cfile_str2ind $SRCDIR/sndcp_sdp.c
+cfile_str2ind $SRCDIR/sndcp_sds.c
+cfile_str2ind $SRCDIR/sndcp_suaf.c
+cfile_str2ind $SRCDIR/sndcp_suap.c
+cfile_str2ind $SRCDIR/sndcp_suas.c
+cfile_str2ind $SRCDIR/sndcp_suf.c
+cfile_str2ind $SRCDIR/sndcp_sup.c
+cfile_str2ind $SRCDIR/sndcp_ciap.c
+cfile_str2ind $SRCDIR/sndcp_ciaf.c
+cfile_str2ind $SRCDIR/sndcp_cias.c
+cfile_str2ind $SRCDIR/sndcp_sus.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/spi_drv	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,41 @@
+# Building spi_drv.lib
+
+CFLAGS="-mn -mt -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/spi
+
+cfile_plain $SRCDIR/spi_process.c
+cfile_plain $SRCDIR/spi_api.c
+cfile_plain $SRCDIR/spi_env.c
+cfile_plain $SRCDIR/spi_task.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ss	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,65 @@
+# Building ss.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version ss
+cfile_plain ss_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gsm/ss
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/ss_csf.c
+cfile_str2ind $SRCDIR/ss_for.c
+cfile_str2ind $SRCDIR/ss_pei.c
+cfile_str2ind $SRCDIR/ss_ss.c
+cfile_str2ind $SRCDIR/ss_em.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/t30	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,77 @@
+# Building t30.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+CPPFLAGS=
+
+make_version t30
+cfile_plain t30_version.c
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+CPPFLAGS="$CPPFLAGS -DFF_FAX"
+CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+CPPFLAGS="$CPPFLAGS -DSRVC=1"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-fad/t30
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/t30_bcsf.c
+cfile_str2ind $SRCDIR/t30_bcss.c
+cfile_str2ind $SRCDIR/t30_kerf.c
+cfile_str2ind $SRCDIR/t30_kerp.c
+cfile_str2ind $SRCDIR/t30_kers.c
+cfile_str2ind $SRCDIR/t30_msgs.c
+cfile_str2ind $SRCDIR/t30_muxp.c
+cfile_str2ind $SRCDIR/t30_muxs.c
+cfile_str2ind $SRCDIR/t30_pei.c
+cfile_str2ind $SRCDIR/t30_tim.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/tif_na7_db_fl	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,39 @@
+# Building tif_na7_db_fl.lib using the GPF source bits we got with TCS211
+
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-DNU_DEBUG -DRUN_FLASH"
+CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/ccd"
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+SRCDIR=$SRC/gpf2/tst
+
+cfile_plain $SRCDIR/drv/tr2.c
+cfile_plain $SRCDIR/drv/tif2.c
+cfile_plain $SRCDIR/drv/ser_tr.c
+cfile_plain $SRCDIR/drv/titrc.c
+cfile_plain $SRCDIR/tst_pei.c
+cfile_plain $SRCDIR/tstdriver.c
+cfile_plain $SRCDIR/tif_version.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/tif_na7_db_ir	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,39 @@
+# Building tif_na7_db_ir.lib using the GPF source bits we got with TCS211
+
+CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
+
+# Defines
+
+CPPFLAGS="-DNU_DEBUG -DRUN_INT_RAM"
+CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/ccd"
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+SRCDIR=$SRC/gpf2/tst
+
+cfile_plain $SRCDIR/drv/tr2.c
+cfile_plain $SRCDIR/drv/tif2.c
+cfile_plain $SRCDIR/drv/ser_tr.c
+cfile_plain $SRCDIR/drv/titrc.c
+cfile_plain $SRCDIR/tst_pei.c
+cfile_plain $SRCDIR/tstdriver.c
+cfile_plain $SRCDIR/tif_version.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/tpudrv	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,51 @@
+# Building tpudrv.lib
+
+CFLAGS="-g -me -pw2 -mt -o2 -mw"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+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/tpu_drivers
+
+cfile_plain $SRCDIR/source/tpudrv.c
+cfile_plain $SRCDIR/source0/tpudrv${RF}.c
+
+if [ "$GPRS" = 1 ]
+then
+	cfile_plain $SRCDIR/p_source0/p_tpudr${RF}.c
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/uart_b_lib	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,113 @@
+# Building uart_b_lib.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DDTI2"
+CPPFLAGS="$CPPFLAGS -DDTILIB"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-aci/uart
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/uart_kerf.c
+cfile_str2ind $SRCDIR/uart_kerp.c
+cfile_str2ind $SRCDIR/uart_kers.c
+cfile_str2ind $SRCDIR/uart_drxf.c
+cfile_str2ind $SRCDIR/uart_drxp.c
+cfile_str2ind $SRCDIR/uart_drxs.c
+cfile_str2ind $SRCDIR/uart_dtxf.c
+cfile_str2ind $SRCDIR/uart_dtxp.c
+cfile_str2ind $SRCDIR/uart_dtxs.c
+cfile_str2ind $SRCDIR/uart_rxf.c
+cfile_str2ind $SRCDIR/uart_rxp.c
+cfile_str2ind $SRCDIR/uart_rxs.c
+cfile_str2ind $SRCDIR/uart_txf.c
+cfile_str2ind $SRCDIR/uart_txp.c
+cfile_str2ind $SRCDIR/uart_txs.c
+cfile_str2ind $SRCDIR/uart_rtf.c
+cfile_str2ind $SRCDIR/uart_rtp.c
+cfile_str2ind $SRCDIR/uart_rts.c
+cfile_str2ind $SRCDIR/uart_pei.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/uart_drv	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,44 @@
+# Building uart_drv.lib
+
+CFLAGS="-mn -mt -o -x -mw -me -pw2"
+CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
+
+if [ "$SERIAL_DYNAMIC_SWITCH" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DSERIAL_DYNAMIC_SWITCH"
+fi
+
+# Includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
+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"
+CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
+
+# Source modules
+
+SRCDIR=$SRC/cs/drivers/drv_app/uart
+
+cfile_plain $SRCDIR/serialswitch.c
+cfile_plain $SRCDIR/uartfax.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/upm	Sun Jul 15 21:19:43 2018 +0000
@@ -0,0 +1,78 @@
+# Building upm.lib from the TCS3.2 source
+
+CFLAGS="-me -mt -o -pw2 -x -mw"
+
+# Defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+CPPFLAGS="$CPPFLAGS -DGPRS"
+CPPFLAGS="$CPPFLAGS -DTI_GPRS"
+CPPFLAGS="$CPPFLAGS -DUPM_WITHOUT_USER_PLANE"
+CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
+CPPFLAGS="$CPPFLAGS -DBOARD=41"
+
+# Includes
+
+SRCDIR=$SRC/g23m-gprs/upm
+
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
+CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
+CPPFLAGS="$CPPFLAGS -I$SRCDIR"
+CPPFLAGS="$CPPFLAGS -I.."
+CPPFLAGS="$CPPFLAGS -I../config"
+
+# Source modules
+
+cfile_str2ind $SRCDIR/upm.c
+cfile_str2ind $SRCDIR/upm_aci_output_handler.c
+cfile_str2ind $SRCDIR/upm_dispatcher.c
+cfile_str2ind $SRCDIR/upm_dispatcher_gsm.c
+cfile_str2ind $SRCDIR/upm_link_control.c
+cfile_str2ind $SRCDIR/upm_mm_output_handler.c
+cfile_str2ind $SRCDIR/upm_pei.c
+cfile_str2ind $SRCDIR/upm_sm_output_handler.c
+cfile_str2ind $SRCDIR/upm_sndcp_control.c
+cfile_str2ind $SRCDIR/upm_sndcp_output_handler.c