diff options
author | Sven Gothel <[email protected]> | 2019-04-08 03:36:31 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-04-08 03:36:31 +0200 |
commit | 0bd5136c2df8407cea7b0dcc7fb1e62432ba18bb (patch) | |
tree | 99b96af85460ad860d85ab7dcc5af40c25555798 /make/scripts/make.gluegen.all.android-armv6-cross.sh | |
parent | 7bbb0822608fa9c832588c35874ead558a479322 (diff) |
Bug 1190: Define TARGET_PLATFORM_SYSROOT TARGET_PLATFORM_USRROOT TARGET_PLATFORM_USRLIBS for crosscompilation
Android Crosscompilation Usage:
- TARGET_PLATFORM_ROOT -> TARGET_PLATFORM_SYSROOT
General
- TARGET_PLATFORM_SYSROOT Crosscompiler and system specified 'sysroot' (as in gcc --print-sysroot)
- TARGET_PLATFORM_USRROOT Additional optional user headers and libraries for target
- TARGET_PLATFORM_USRLIBS Actual location of target user libraries within TARGET_PLATFORM_USRROOT
- TARGET_JAVA_LIBS Actual location of the Java libraries within TARGET_PLATFORM_USRROOT
Diffstat (limited to 'make/scripts/make.gluegen.all.android-armv6-cross.sh')
-rwxr-xr-x | make/scripts/make.gluegen.all.android-armv6-cross.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/scripts/make.gluegen.all.android-armv6-cross.sh b/make/scripts/make.gluegen.all.android-armv6-cross.sh index 7c3043f..81bd8a1 100755 --- a/make/scripts/make.gluegen.all.android-armv6-cross.sh +++ b/make/scripts/make.gluegen.all.android-armv6-cross.sh @@ -37,7 +37,7 @@ HOST_ARCH=linux-x86_64 export TARGET_TRIPLE=arm-linux-androideabi export NDK_TOOLCHAIN_ROOT=$NDK_ROOT/toolchains/${TARGET_TRIPLE}-${GCC_VERSION}/prebuilt/${HOST_ARCH} -export TARGET_PLATFORM_ROOT=${NDK_ROOT}/platforms/android-${ANDROID_VERSION}/arch-arm +export TARGET_PLATFORM_SYSROOT=${NDK_ROOT}/platforms/android-${ANDROID_VERSION}/arch-arm # Need to add toolchain bins to the PATH. export PATH="$NDK_TOOLCHAIN_ROOT/$TARGET_TRIPLE/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/$ANDROID_BUILD_TOOLS_VERSION:$PATH" |