Commit Graph

15 Commits

Author SHA1 Message Date
Alexander Schlarb 4f704e9df1 Android: Improve quality of build scripts
* Make build scripts fully whitespace safe to the extend premitted by autotools
 * Let all build scripts fail fast on error, previously they would continue and then fail with spurious follow-up errors burrowing the actual issue
 * Ensure that all build scripts start with a valid shebang (`#!`)
 * Fix jumbled letters in `android/build_build_app_x86.sh`
2018-03-27 21:51:06 +02:00
Alexander Schlarb 3ee7631354 Android: update order of binary search path in build scripts
* `PATH` environment was: `export PATH="$PATH:$TCBINARIES:$TCINCLUDES/bin"`
 * If system `libcurl-dev` (Debian) is installed its `curl-config` script will be first in `PATH`
 * `./configure` will choose the system `curl-config` and fail to compile
2018-03-23 18:10:01 +01:00
Oliver Bock 115db9e889 [android] Fixed/improved Android build scripts
* Removed hard-coded paths and dependency versions
* Default values can now be overridden via environment variables:
  * NDK_ROOT (recommended)
  * ANDROID_TC[_<arch>] (optional: toolchain folders)
  * CURL_SRC (recommended)
  * OPENSSL_SRC (recommended)
* Fixed cURL mips64 build
* Moved toolchains into common parent directory
* Made asset directory creation idempotent
2017-03-29 09:08:02 +00:00
Rom Walton 932d67ea2e android: Set the minSdkVersion to 16 (Android 4.1) and add the position-independent-executable flags for native code build scripts. 2014-11-19 19:34:54 -05:00
Rom Walton b6f919b957 ANDROID: When building the libraries on Android, include boinczip. 2014-04-17 11:43:24 -04:00
Rom Walton 5cbc1bb712 ANDRoID: Fix another build break. 2014-04-16 19:18:30 -04:00
Rom Walton 9a256537cf ANDROID: Fix build breaks in scripts. 2014-04-16 19:14:21 -04:00
Rom Walton 726f849f3a ANDROID: Add libboinczip to the list of BOINC libraries built and installed in the toolchain on Android. 2014-04-16 19:11:49 -04:00
Rom Walton 0f01b5bb57 ANDROID: Add prefix and libdir information to the configure script so 'make install' will work. 2014-04-16 18:43:33 -04:00
Rom Walton 74a83cab55 ANDROID: When building the libraries, also install them into the standalone toolchain directory structure. 2014-04-16 18:17:05 -04:00
David Anderson 20c11bccf7 fixes for Android/x86 build scripts, from Jon 2014-03-02 22:47:24 -08:00
Rom Walton 7179b0e27b android: Use different toolchain directories. OpenSSL appears to be sensitive and will not successfully compile if built for a different CPU architecture first. (temp file?) 2013-10-22 13:59:26 -04:00
Rom Walton d1cd5d3f8e android: more tweaks for the various CPU Architectures 2013-10-22 13:00:50 -04:00
Rom Walton 4b4a5c360f android: Bug fixes for previous commit 2013-10-22 11:37:36 -04:00
Rom Walton efc25bbd78 android: Add cross-compile scripts for the x86 and MIPS CPU architectures 2013-10-22 11:19:42 -04:00