view scripts/mkcomp-test.sh @ 106:72b8a6a15d46

components/l1_pei: recipe created, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 05 Oct 2016 22:19:35 +0000
parents 88f40f4c829f
children e0cf9a040fef
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
		;;
	3)
		CONDAT=condat3
		GPF=gpf3
		CDGINC=cdg3/cdginc-conservative
		CDGPRIM=cdg3/sap-inline
		;;
	*)
		echo "Error: bad TCSENV= setting" 1>&2
		exit 1
		;;
esac

GPRS=1
MMI=0
SRVC=1

export BUILD_DIR CDGINC CDGPRIM CONDAT GPF GPRS MMI SRVC USE_STR2IND

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