1 | case $1 in
|
---|
2 | gcc2)
|
---|
3 | rm generated
|
---|
4 | mkdir gcc2
|
---|
5 | ln -s gcc2 generated
|
---|
6 | sh configure --build-cross-tools ../../buildtools/trunk >c2o 2>c2e
|
---|
7 | cat head c2e tail >c2e.html
|
---|
8 | cat head c2o tail >c2o.html
|
---|
9 | break ;;
|
---|
10 | ppc)
|
---|
11 | rm generated
|
---|
12 | mkdir ppc
|
---|
13 | ln -s ppc generated
|
---|
14 | sh configure --build-cross-tools-gcc4 ppc ../../buildtools/trunk >cpo 2>cpe
|
---|
15 | ../../buildtools/trunk/jam/bin.linuxx86/jam haiku.image >jpo 2>jpe
|
---|
16 | cp generated/haiku.image ../../../haiku.image-ppc-svn$1
|
---|
17 | cat head cpe tail >cpe.html
|
---|
18 | cat head cpo tail >cpo.html
|
---|
19 | break ;;
|
---|
20 | x86_32)
|
---|
21 | rm generated
|
---|
22 | mkdir x86_32
|
---|
23 | ln -s x86_32 generated
|
---|
24 | sh configure --build-cross-tools-gcc4 x86 ../../buildtools/trunk >cxo 2>cxe
|
---|
25 | ../../buildtools/trunk/jam/bin.linuxx86/jam haiku.image >jxo 2>jxe
|
---|
26 | cp generated/haiku.image ../../../haiku.image-x86-svn$1
|
---|
27 | cat head cxe tail >cxe.html
|
---|
28 | cat head cxo tail >cxo.html
|
---|
29 | break ;;
|
---|
30 | x86_64)
|
---|
31 | rm generated
|
---|
32 | mkdir x86_64
|
---|
33 | ln -s x86_64 generated
|
---|
34 | sh configure --build-cross-tools-gcc4 x86_64 ../../buildtools/trunk >c6o 2>c6e
|
---|
35 | ../../buildtools/trunk/jam/bin.linuxx86/jam haiku.image >j6o 2>j6e
|
---|
36 | cp generated/haiku.image ../../../haiku.image-x86-64-svn$1
|
---|
37 | cat head c6e tail >c6e.html
|
---|
38 | cat head c6o tail >c6o.html
|
---|
39 | break ;;
|
---|
40 | all)
|
---|
41 | set gcc2
|
---|
42 | set ppc
|
---|
43 | set x86_32
|
---|
44 | break ;;
|
---|
45 | esac
|
---|