view scripts/mkcomp-test.sh @ 549:69e52afc01d5

configs/* except classic: rebuild tif_na7_db_{fl,ir} from source The purpose of this change is to allow a TRACEMASK_IN_FFS=1 setting given on the configure line to have effect; all configs except classic are included because this feature setting is orthogonal to the choice of G23M PS version and other config choices. (The classic config is an exception because its very purpose is to preserve a reference config with all of the original blobs.) Note that even though we are switching these TIF libraries from blobs to recompilation from source in all configs, our source for these libs compiles into a perfect match to the original blobs in the current default TRACEMASK_IN_FFS=0 configuration, hence there is no effective change beyond the unfortunate small increase in compilation times.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Nov 2018 08:33:30 +0000
parents 5fbcfd465de0
children 8cf3029429f3
line wrap: on
line source

#!/bin/sh

if [ -z "$BUILD_DIR" ]
then
	BUILD_DIR=build-sb
fi

if [ -z "$USE_STR2IND" ]
then
	USE_STR2IND=0
fi

if [ -z "$CHIPSET" ]
then
	CHIPSET=10
fi

if [ -z "$DSP" ]
then
	DSP=36
fi

if [ -z "$RF" ]
then
	RF=12
fi

if [ -z "$L1_DYN_DSP_DWNLD" ]
then
	L1_DYN_DSP_DWNLD=1
fi

if [ -z "$TCSENV" ]
then
	TCSENV=2
fi

case "$TCSENV" in
	2)
		CONDAT=condat2
		GPF=gpf2
		CDGINC=cdg211/cdginc
		CDGPRIM=cdg211/prim
		ACI=aci2
		;;
	3)
		CONDAT=condat3
		GPF=gpf3
		CDGINC=cdg-hybrid/cdginc
		CDGPRIM=cdg-hybrid/sap-inline
		ACI=g23m-aci
		;;
	*)
		echo "Error: bad TCSENV= setting" 1>&2
		exit 1
		;;
esac

if [ -z "$MMI" ]
then
	MMI=0
fi

GPRS=1
SRVC=1

export ACI BUILD_DIR CDGINC CDGPRIM CHIPSET CONDAT DSP GPF GPRS
export L1_DYN_DSP_DWNLD MMI RF SRVC USE_STR2IND

exec scripts/mk-component.sh "$@"