aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/android/configure-depends
blob: 73f9be569f16e6759119d58ad41552cc0588ce3c (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=$TARBALLS \
    --host=arm-linux-androideabi \
    --with-sdk-path=$SDK_PATH \
    --with-ndk=$NDK_PATH \
    $(if [ "$SDK_VERSION" != "Default" ]; then echo --with-sdk=android-$SDK_VERSION;fi) \
    --with-toolchain=$TOOLCHAIN \
    --prefix=$XBMC_DEPENDS_ROOT
fi