Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | export crossOS=android
|
---|
4 | export crossHost=arm-linux-androideabi
|
---|
5 |
|
---|
6 | export CROSSCONFIGURE_VARS="CPP=$crossHost-cpp CC=$crossHost-gcc CXX=$crossHost-g++ LD=$crossHost-ld AR=$crossHost-ar RANLIB=$crossHost-ranlib"
|
---|
7 |
|
---|
8 | export CROSSCONFIGURE_ARGS="--host=$crossHost"
|
---|
9 |
|
---|
10 | if [ "x$1" = "xtarclean" ] ; then
|
---|
11 | /bin/rm .CONFIG-UPDATE-DONE
|
---|
12 | elif [ ! -f .CONFIG-UPDATE-DONE ] ; then
|
---|
13 | ./ANDROID-FIX-CONFIG.sh
|
---|
14 |
|
---|
15 | echo "Updated config.guess and config.sub files" > .CONFIG-UPDATE-DONE
|
---|
16 |
|
---|
17 | fi
|
---|
18 |
|
---|
19 | source devel.bash
|
---|
20 |
|
---|
21 | for d in packages ; do
|
---|
22 | echo "Running $d/CASCADE-MAKE.sh"
|
---|
23 |
|
---|
24 | (cd $d ; ./CASCADE-MAKE.sh $*)
|
---|
25 |
|
---|
26 | if [ $? != 0 ] ; then
|
---|
27 | echo "Error encountered running $d/CASCADE-MAKE.sh"
|
---|
28 | exit 1
|
---|
29 | fi
|
---|
30 | done
|
---|
31 |
|
---|
32 | if [ $makedist = "1" ] ; then
|
---|
33 | default_toplevel_make_dist $GSDLOS devel.bash
|
---|
34 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.