view configs/classic @ 61:dba3f097489e

makefile-frags: initial concept
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2016 01:28:01 +0000
parents ecad19ce63c5
children bb53b2e2d548
line wrap: on
line source

# This configuration reproduces the original TCS211 pdt_2091 build,
# using almost all of the original blobs from Sotovik.

scripts/config-headers.sh 2091

CONDAT=condat2
GPF=gpf2
CDGINC=cdg211/cdginc
CDGPRIM=cdg211/prim
export CONDAT GPF CDGINC CDGPRIM

GPRS=1
MMI=0
SRVC=1
export GPRS MMI SRVC

blob_lib blobs/libs/ccddata.lib

# ACI libs
build_lib aci classic
build_lib aciext classic
build_lib aci_dti_mng classic
build_lib atiext classic
build_lib comlib
build_lib config_gprs_fl
build_lib config_gprs_ir
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'

# G23M protocol stack libs
blob_lib blobs/libs/alr.lib
blob_lib blobs/libs/cc.lib
blob_lib blobs/libs/cci.lib
blob_lib blobs/libs/cci_ir.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib blobs/libs/dl.lib
blob_lib blobs/libs/dti.lib
blob_lib blobs/libs/fad.lib
blob_lib blobs/libs/gmm.lib
blob_lib blobs/libs/grlc.lib
blob_lib blobs/libs/grlc_ir.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib blobs/libs/grr.lib
blob_lib blobs/libs/l1_pei.lib
blob_lib blobs/libs/l2r.lib
blob_lib blobs/libs/llc.lib
blob_lib blobs/libs/mm.lib
blob_lib blobs/libs/ra.lib
blob_lib blobs/libs/rlp.lib
blob_lib blobs/libs/rr.lib
blob_lib blobs/libs/sim_b_lib.lib
blob_lib blobs/libs/sm.lib
blob_lib blobs/libs/sms.lib
blob_lib blobs/libs/sndcp.lib
blob_lib blobs/libs/ss.lib
blob_lib blobs/libs/t30.lib
blob_lib blobs/libs/uart_b_lib.lib
blob_lib blobs/libs/ppp.lib
blob_lib blobs/libs/ppp_ir.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'

# Condat drivers
build_lib gdi

# GPF
blob_lib blobs/gpflibs/ccd_na7_db.lib
blob_lib blobs/gpflibs/frame_na7_db_fl.lib
blob_lib blobs/gpflibs/frame_na7_db_ir.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib blobs/gpflibs/misc_na7_db_fl.lib
blob_lib blobs/gpflibs/misc_na7_db_ir.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib blobs/gpflibs/osx_na7_db.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib blobs/gpflibs/tif_na7_db_fl.lib
blob_lib blobs/gpflibs/tif_na7_db_ir.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'

# core drivers
build_lib drivers_flash

# Layer 1
blob_lib blobs/libs/tpudrv.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib blobs/libs/l1_ext.lib
lib_link_magic '(BSS_LIBS (.l1s_global))'
blob_lib blobs/libs/l1_int.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib blobs/libs/l1_custom_ext.lib
blob_lib blobs/libs/l1_custom_int.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'

build_lib riviera_core_flash
build_lib riviera_cust_flash

# services
build_lib atp
build_lib audio
build_lib audio_bgd
build_lib cst
build_lib dar
build_lib dar_gbl_var
lib_link_magic '(BSS_DAR_LIB (.bss))'
build_lib etm
build_lib lls
build_lib mks

# app drivers
build_lib abb
build_lib buzzer
build_lib ffs
build_lib ffs_drv
build_lib ffs_pcm
build_lib kpd
build_lib lcc
build_lib power
build_lib rtc_drv
build_lib sim_drv
build_lib spi_drv
build_lib uart_drv

# eyesores
blob_lib $MAIN_blob
blob_lib blobs/libs/bootloader.lib
lib_link_magic '(CONST_BOOT_LIB (.const, .text, .text:v$3) BSS_BOOT_LIB (.bss))'

# Nucleus and TI's compiler stuff
blob_lib blobs/oslibs/nucleus_flash_nodbg.lib
blob_lib blobs/oslibs/nucleus_int_ram_nodbg.lib
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib blobs/oslibs/rts16le_flash.lib
blob_lib blobs/oslibs/rts16le_int_ram.lib
lib_link_magic '(BSS_LIBS (.bss))'

str2ind_blobs_used=1