diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
commit | c04dcc2e7d834218ef2d4194331e383402495ae1 (patch) | |
tree | 7333e38d10d75386e60f336b80c2443c1166031d /tools/buildsteps/android-arm64-v8a/configure-depends | |
parent | Initial commit. (diff) | |
download | kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.tar.xz kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.zip |
Adding upstream version 2:20.4+dfsg.upstream/2%20.4+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/buildsteps/android-arm64-v8a/configure-depends')
-rw-r--r-- | tools/buildsteps/android-arm64-v8a/configure-depends | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/buildsteps/android-arm64-v8a/configure-depends b/tools/buildsteps/android-arm64-v8a/configure-depends new file mode 100644 index 0000000..cec12b7 --- /dev/null +++ b/tools/buildsteps/android-arm64-v8a/configure-depends @@ -0,0 +1,18 @@ +WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} +XBMC_PLATFORM_DIR=android +. $WORKSPACE/tools/buildsteps/defaultenv + +#the following path must exist on the slave and use the defined scheme here! +NDK_PATH=$ANDROID_DEV_ROOT/android-ndk-r$NDK_VERSION + +if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ] +then + cd $WORKSPACE/tools/depends;./configure \ + --with-tarballs=$TARBALLS \ + --host=aarch64-linux-android \ + --with-sdk-path=$SDK_PATH \ + --with-ndk-path=$NDK_PATH \ + $(if [ "$NDK_API" != "Default" ]; then echo --with-ndk-api=$NDK_API;fi) \ + --prefix=$XBMC_DEPENDS_ROOT \ + $DEBUG_SWITCH +fi |