view scripts/mkcomp-test.sh @ 286:840113655bbf

GTA0x target: mux DSR_MODEM/LPG signal to LPG in init.c to avoid floating
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 08 Aug 2017 02:50:13 +0000
parents 2c61607bb3e3
children 1da4c0cc9fc2
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 "$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=cdg3/cdginc-conservative
		CDGPRIM=cdg3/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 CONDAT GPF GPRS MMI SRVC USE_STR2IND

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