comparison scripts/mkcomp-test.sh @ 17:6323e661f2ed

added the ability to select different gpf and cdginc versions
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 16:46:56 +0000
parents 352f80da6813
children 88f40f4c829f
comparison
equal deleted inserted replaced
16:c15047b3d00d 17:6323e661f2ed
1 #!/bin/sh 1 #!/bin/sh
2 2
3 BUILD_DIR=build-sb 3 if [ -z "$BUILD_DIR" ]
4 then
5 BUILD_DIR=build-sb
6 fi
7
8 if [ -z "$USE_STR2IND" ]
9 then
10 USE_STR2IND=0
11 fi
12
13 if [ -z "$GPF" ]
14 then
15 GPF=gpf2
16 fi
17
18 case "$GPF" in
19 gpf2)
20 CDGINC=cdg211/cdginc
21 CDGPRIM=cdg211/prim
22 ;;
23 gpf3)
24 CDGINC=cdg3/cdginc-conservative
25 CDGPRIM=cdg3/sap-inline
26 ;;
27 *)
28 echo "Error: bad GPF= setting" 1>&2
29 exit 1
30 ;;
31 esac
32
4 GPRS=1 33 GPRS=1
5 MMI=0 34 MMI=0
6 SRVC=1 35 SRVC=1
7 USE_STR2IND=0
8 36
9 export BUILD_DIR GPRS MMI SRVC USE_STR2IND 37 export BUILD_DIR CDGINC CDGPRIM GPF GPRS MMI SRVC USE_STR2IND
10 38
11 exec scripts/mk-component.sh "$@" 39 exec scripts/mk-component.sh "$@"