Last change
on this file since 28305 was 26823, checked in by davidb, 11 years ago |
Further patch needed for dbus
|
-
Property svn:executable
set to
*
|
File size:
1016 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | #export crossOS=windows
|
---|
4 | export crossOS=android
|
---|
5 |
|
---|
6 | if [ $crossOS = "windows" ] ; then
|
---|
7 | export crossHost=i686-w64-mingw32
|
---|
8 | elif [ $crossOS = "android" ] ; then
|
---|
9 | export crossHost=arm-linux-androideabi
|
---|
10 | fi
|
---|
11 |
|
---|
12 | export CROSSCONFIGURE_VARS="CPP=$crossHost-cpp CC=$crossHost-gcc CXX=$crossHost-g++ LD=$crossHost-ld AR=$crossHost-ar RANLIB=$crossHost-ranlib"
|
---|
13 |
|
---|
14 | export CROSSCONFIGURE_ARGS="--host=$crossHost"
|
---|
15 |
|
---|
16 | if [ $crossOS = "android" ] ; then
|
---|
17 |
|
---|
18 | if [ "x$1" = "xtarclean" ] ; then
|
---|
19 | /bin/rm .CONFIG-UPDATE-DONE
|
---|
20 | elif [ ! -f .CONFIG-UPDATE-DONE ] ; then
|
---|
21 | ./ANDROID-FIX-CONFIG.sh
|
---|
22 |
|
---|
23 | echo "Updated config.guess and config.sub files" > .CONFIG-UPDATE-DONE
|
---|
24 |
|
---|
25 | echo "Applying android.patchs"
|
---|
26 | cd packages \
|
---|
27 | && patch -p0 < android-patches/gettext-android.patch \
|
---|
28 | && patch -p0 < android-patches/libxml2-android.patch \
|
---|
29 | && patch -p0 < android-patches/dbus-android.patch \
|
---|
30 | && patch -p0 < android-patches/glib-android.patch \
|
---|
31 | && cd ..
|
---|
32 | sleep 3
|
---|
33 |
|
---|
34 | fi
|
---|
35 | fi
|
---|
36 |
|
---|
37 | ./CASCADE-MAKE.sh $*
|
---|
38 |
|
---|
39 |
|
---|
40 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.