aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/android/configure-depends
blob: 13ab6cdd534461a948c2fba195d4cb4fff93ac4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=android
. $WORKSPACE/tools/buildsteps/defaultenv

if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
then
  cd $WORKSPACE/tools/depends;./configure \
    --with-tarballs=/opt/xbmc-tarballs \
    --host=arm-linux-androideabi \
    --with-sdk-path=$SDK_PATH \
    --with-ndk=$NDK_PATH \
    --with-sdk=android-$SDK_VERSION \
    --with-toolchain=$TOOLCHAIN \
    --prefix=$XBMC_DEPENDS_ROOT
fi