X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2Fsigrok-cross-android;h=39fb646d51e9bde67e5759a2102279887654f150;hp=63f66028a39ac84cd20bc3d090c3d2d48216fac7;hb=8d424771fa9524e49b09b9f38266f22817e1d7b9;hpb=890c970872e96558a029cdb9fd0e964f37a4f724 diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index 63f6602..39fb646 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -34,6 +34,9 @@ ANDROID_SDK=$ANDROID_PATH/android-sdk-linux TOOLCHAIN=$ANDROID_PATH/android-arm-toolchain # TOOLCHAIN=$ANDROID_PATH/android-mipsel-toolchain # TOOLCHAIN=$ANDROID_PATH/android-i686-toolchain +# TOOLCHAIN=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86 +# TOOLCHAIN=$ANDROID_NDK/toolchains/x86-4.9/prebuilt/linux-x86 +# TOOLCHAIN=$ANDROID_NDK/toolchains/mipsel-linux-android-4.9/prebuilt/linux-x86 # Select which Android toolchain to use. # Don't forget to also adapt TOOLCHAIN above if you change TOOLCHAIN_TRIPLET! @@ -407,7 +410,7 @@ $WGET http://$SF_MIRROR/project/boost/boost/$VER_BOOST/boost_${VER_BOOST//./_}.t tar xfj boost_${VER_BOOST//./_}.tar.bz2 cd boost_${VER_BOOST//./_} patch -p1 < ../../boost.patch -CC= ./bootstrap.sh --with-toolset=gcc --with-libraries=filesystem,system --without-icu +CC= ./bootstrap.sh --with-toolset=gcc --with-libraries=filesystem,system,thread --without-icu echo "using gcc : $NDK_TOOLCHAIN_VERSION : \"${TOOLCHAIN_TRIPLET}-g++\" : \"$SYSROOT -I$PREFIX/include $CPPFLAGS_STL\" \"$SYSROOT -L$PREFIX/lib $LDFLAGS_STL -lgnustl_shared\" ;" > user-config.jam ./b2 -q -d+2 --user-config=user-config.jam toolset=gcc variant=release link=shared threading=multi runtime-link=shared target-os=android --prefix=$PREFIX --layout=system install $PARALLEL cd ..