diff --git a/ndk/apps/hello-jni/project/libs/armeabi/.gitignore b/ndk/apps/hello-jni/project/libs/armeabi/.gitignore new file mode 100644 index 000000000..bd01364ac --- /dev/null +++ b/ndk/apps/hello-jni/project/libs/armeabi/.gitignore @@ -0,0 +1 @@ +lib*.so diff --git a/ndk/apps/two-libs/project/libs/armeabi/.gitignore b/ndk/apps/two-libs/project/libs/armeabi/.gitignore new file mode 100644 index 000000000..bd01364ac --- /dev/null +++ b/ndk/apps/two-libs/project/libs/armeabi/.gitignore @@ -0,0 +1 @@ +lib*.so diff --git a/ndk/build/host-setup.sh b/ndk/build/host-setup.sh index 6926f1b39..e94944e21 100755 --- a/ndk/build/host-setup.sh +++ b/ndk/build/host-setup.sh @@ -54,6 +54,7 @@ add_config () echo "Detecting host toolchain." echo "" +force_32bit_binaries setup_toolchain create_config_mk diff --git a/ndk/build/tools/build-toolchain.sh b/ndk/build/tools/build-toolchain.sh index 75de8f973..42f727682 100755 --- a/ndk/build/tools/build-toolchain.sh +++ b/ndk/build/tools/build-toolchain.sh @@ -34,6 +34,7 @@ OPTION_HELP=no OPTION_PLATFORM= OPTION_FORCE_32=no OPTION_REBUILD=no + VERBOSE=no for opt do optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'` @@ -73,9 +74,7 @@ for opt do done if [ $OPTION_HELP = "yes" ] ; then - echo "Collect files from an Android build tree and assembles a sysroot" - echo "suitable for building a standalone toolchain or be used by the" - echo "Android NDK." + echo "Rebuild the prebuilt binaries for the Android NDK toolchain." echo "" echo "options:" echo "" @@ -90,27 +89,14 @@ if [ $OPTION_HELP = "yes" ] ; then exit 0 fi -# some Linux platforms report 64-bit while they have a 32-bit userland -# so check that the compiler generates 32-bit binaries -# if it does, call force_32bit_binaries to change the value of $HOST_TAG -# -# note that this also changes HOST_CFLAGS and HOST_LDFLAGS, however, there -# is no way for the configure script in the toolchain to get these properly. -# -if [ $HOST_TAG = linux-x86_64 ] ; then - setup_toolchain - cat >$TMPC < and as part of the stable ABIs. diff --git a/ndk/out/.gitignore b/ndk/out/.gitignore new file mode 100644 index 000000000..ef2875b95 --- /dev/null +++ b/ndk/out/.gitignore @@ -0,0 +1,2 @@ +# Ignore all generated files here +*