annotate scripts/mkcomp-test.sh @ 116:59ff6e77b23a

r2d_drv_custom_flash.lib compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 06 Oct 2016 18:06:19 +0000
parents e0cf9a040fef
children 2c61607bb3e3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
352f80da6813 ACI compiles!
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #!/bin/sh
352f80da6813 ACI compiles!
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
17
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
3 if [ -z "$BUILD_DIR" ]
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
4 then
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
5 BUILD_DIR=build-sb
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
6 fi
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
7
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
8 if [ -z "$USE_STR2IND" ]
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
9 then
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
10 USE_STR2IND=0
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
11 fi
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
12
19
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
13 if [ -z "$TCSENV" ]
17
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
14 then
19
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
15 TCSENV=2
17
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
16 fi
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
17
19
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
18 case "$TCSENV" in
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
19 2)
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
20 CONDAT=condat2
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
21 GPF=gpf2
17
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
22 CDGINC=cdg211/cdginc
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
23 CDGPRIM=cdg211/prim
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
24 ;;
19
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
25 3)
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
26 CONDAT=condat3
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
27 GPF=gpf3
17
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
28 CDGINC=cdg3/cdginc-conservative
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
29 CDGPRIM=cdg3/sap-inline
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
30 ;;
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
31 *)
19
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
32 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: 10
diff changeset
33 exit 1
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
34 ;;
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
35 esac
6323e661f2ed added the ability to select different gpf and cdginc versions
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
36
115
e0cf9a040fef scripts/mkcomp-test.sh: allow MMI setting to be overridden
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
37 if [ -z "$MMI" ]
e0cf9a040fef scripts/mkcomp-test.sh: allow MMI setting to be overridden
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
38 then
e0cf9a040fef scripts/mkcomp-test.sh: allow MMI setting to be overridden
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
39 MMI=0
e0cf9a040fef scripts/mkcomp-test.sh: allow MMI setting to be overridden
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
40 fi
e0cf9a040fef scripts/mkcomp-test.sh: allow MMI setting to be overridden
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
41
10
352f80da6813 ACI compiles!
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 GPRS=1
352f80da6813 ACI compiles!
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 SRVC=1
352f80da6813 ACI compiles!
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44
19
88f40f4c829f condat2 vs. condat3 includes selection logic
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
45 export BUILD_DIR CDGINC CDGPRIM CONDAT GPF GPRS MMI SRVC USE_STR2IND
10
352f80da6813 ACI compiles!
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46
352f80da6813 ACI compiles!
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 exec scripts/mk-component.sh "$@"