ndk-multilib: Remove mips
Mips is being dropped from the Android NDK.
This commit is contained in:
parent
e0a705db74
commit
49906e78de
@ -1,6 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://developer.android.com/tools/sdk/ndk/index.html
|
||||
TERMUX_SUBPKG_DESCRIPTION="multilib binaries for cross-compilation"
|
||||
TERMUX_PKG_VERSION=$TERMUX_NDK_VERSION
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_NO_DEVELSPLIT=yes
|
||||
TERMUX_PKG_KEEP_STATIC_LIBRARIES="true"
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
@ -16,7 +17,7 @@ prepare_libs () {
|
||||
|
||||
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib
|
||||
local BASEDIR=$NDK/platforms/android-${TERMUX_PKG_API_LEVEL}/arch-$ARCH/usr/lib
|
||||
if [ $ARCH = x86_64 ] || [ $ARCH = mips64 ]; then BASEDIR+="64"; fi
|
||||
if [ $ARCH = x86_64 ]; then BASEDIR+="64"; fi
|
||||
cp $BASEDIR/*.o $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/$SUFFIX/lib
|
||||
|
||||
LIBATOMIC=$NDK/toolchains/${NDK_SUFFIX}-*/prebuilt/linux-*/${SUFFIX}/lib
|
||||
@ -29,6 +30,4 @@ termux_step_extract_into_massagedir () {
|
||||
prepare_libs "arm64" "aarch64-linux-android"
|
||||
prepare_libs "x86" "i686-linux-android"
|
||||
prepare_libs "x86_64" "x86_64-linux-android"
|
||||
prepare_libs "mips" "mipsel-linux-android"
|
||||
prepare_libs "mips64" "mips64el-linux-android"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user