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.linux-aarch64-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.linux-aarch64-cross.sh')
-rwxr-xr-x | make/scripts/make.gluegen.all.linux-aarch64-cross.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/make/scripts/make.gluegen.all.linux-aarch64-cross.sh b/make/scripts/make.gluegen.all.linux-aarch64-cross.sh index 5d050cd..1b39bd3 100755 --- a/make/scripts/make.gluegen.all.linux-aarch64-cross.sh +++ b/make/scripts/make.gluegen.all.linux-aarch64-cross.sh @@ -17,9 +17,10 @@ export PATH # -DisLinuxARM64=true \ # -DisX11=true \ -export TARGET_PLATFORM_ROOT=/opt-linux-arm64 -export TARGET_PLATFORM_LIBS=$TARGET_PLATFORM_ROOT/usr/lib -export TARGET_JAVA_LIBS=$TARGET_PLATFORM_ROOT/jre/lib/aarch64 +export TARGET_PLATFORM_SYSROOT=`gcc --print-sysroot` +export TARGET_PLATFORM_USRROOT=/opt-linux-arm64 +export TARGET_PLATFORM_USRLIBS=$TARGET_PLATFORM_USRROOT/usr/lib +export TARGET_JAVA_LIBS=$TARGET_PLATFORM_USRROOT/jre/lib/aarch64 export GLUEGEN_CPPTASKS_FILE="lib/gluegen-cpptasks-linux-aarch64.xml" |