FreeCalypso > hg > fc-magnetite
annotate scripts/mkcomp-test.sh @ 318:6cea809631d7
RVT: added TCH and KEEPALIVE channels
| author | Mychaela Falconia <falcon@freecalypso.org> | 
|---|---|
| date | Sun, 03 Dec 2017 01:24:19 +0000 | 
| parents | 2c61607bb3e3 | 
| children | 1da4c0cc9fc2 | 
| rev | line source | 
|---|---|
| 10 | 1 #!/bin/sh | 
| 2 | |
| 17 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 3 if [ -z "$BUILD_DIR" ] | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 4 then | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 5 BUILD_DIR=build-sb | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 6 fi | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 7 | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 8 if [ -z "$USE_STR2IND" ] | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 9 then | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 10 USE_STR2IND=0 | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 11 fi | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 12 | 
| 19 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 13 if [ -z "$TCSENV" ] | 
| 17 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 14 then | 
| 19 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 15 TCSENV=2 | 
| 17 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 16 fi | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 17 | 
| 19 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 18 case "$TCSENV" in | 
| 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 19 2) | 
| 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 20 CONDAT=condat2 | 
| 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 21 GPF=gpf2 | 
| 17 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 22 CDGINC=cdg211/cdginc | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 23 CDGPRIM=cdg211/prim | 
| 172 
2c61607bb3e3
build system: pass ACI version for headers to the component recipes
 Mychaela Falconia <falcon@freecalypso.org> parents: 
115diff
changeset | 24 ACI=aci2 | 
| 17 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 25 ;; | 
| 19 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 26 3) | 
| 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 27 CONDAT=condat3 | 
| 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 28 GPF=gpf3 | 
| 17 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 29 CDGINC=cdg3/cdginc-conservative | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 30 CDGPRIM=cdg3/sap-inline | 
| 172 
2c61607bb3e3
build system: pass ACI version for headers to the component recipes
 Mychaela Falconia <falcon@freecalypso.org> parents: 
115diff
changeset | 31 ACI=g23m-aci | 
| 17 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 32 ;; | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 33 *) | 
| 19 
88f40f4c829f
condat2 vs. condat3 includes selection logic
 Mychaela Falconia <falcon@freecalypso.org> parents: 
17diff
changeset | 34 echo "Error: bad TCSENV= setting" 1>&2 | 
| 17 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 35 exit 1 | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 36 ;; | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 37 esac | 
| 
6323e661f2ed
added the ability to select different gpf and cdginc versions
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 38 | 
| 115 
e0cf9a040fef
scripts/mkcomp-test.sh: allow MMI setting to be overridden
 Mychaela Falconia <falcon@freecalypso.org> parents: 
19diff
changeset | 39 if [ -z "$MMI" ] | 
| 
e0cf9a040fef
scripts/mkcomp-test.sh: allow MMI setting to be overridden
 Mychaela Falconia <falcon@freecalypso.org> parents: 
19diff
changeset | 40 then | 
| 
e0cf9a040fef
scripts/mkcomp-test.sh: allow MMI setting to be overridden
 Mychaela Falconia <falcon@freecalypso.org> parents: 
19diff
changeset | 41 MMI=0 | 
| 
e0cf9a040fef
scripts/mkcomp-test.sh: allow MMI setting to be overridden
 Mychaela Falconia <falcon@freecalypso.org> parents: 
19diff
changeset | 42 fi | 
| 
e0cf9a040fef
scripts/mkcomp-test.sh: allow MMI setting to be overridden
 Mychaela Falconia <falcon@freecalypso.org> parents: 
19diff
changeset | 43 | 
| 10 | 44 GPRS=1 | 
| 45 SRVC=1 | |
| 46 | |
| 172 
2c61607bb3e3
build system: pass ACI version for headers to the component recipes
 Mychaela Falconia <falcon@freecalypso.org> parents: 
115diff
changeset | 47 export ACI BUILD_DIR CDGINC CDGPRIM CONDAT GPF GPRS MMI SRVC USE_STR2IND | 
| 10 | 48 | 
| 49 exec scripts/mk-component.sh "$@" | 
