aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/make.gluegen.all.linux-armv6hf.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-04-08 03:36:31 +0200
committerSven Gothel <[email protected]>2019-04-08 03:36:31 +0200
commit0bd5136c2df8407cea7b0dcc7fb1e62432ba18bb (patch)
tree99b96af85460ad860d85ab7dcc5af40c25555798 /make/scripts/make.gluegen.all.linux-armv6hf.sh
parent7bbb0822608fa9c832588c35874ead558a479322 (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-armv6hf.sh')
-rwxr-xr-xmake/scripts/make.gluegen.all.linux-armv6hf.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/scripts/make.gluegen.all.linux-armv6hf.sh b/make/scripts/make.gluegen.all.linux-armv6hf.sh
index e66f0e0..8f0cca5 100755
--- a/make/scripts/make.gluegen.all.linux-armv6hf.sh
+++ b/make/scripts/make.gluegen.all.linux-armv6hf.sh
@@ -8,8 +8,9 @@
# -DisX11=true \
# arm-linux-gnueabihf == armhf triplet
-export TARGET_PLATFORM_LIBS=/usr/lib/arm-linux-gnueabihf
-export TARGET_JAVA_LIBS=/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm
+export TARGET_PLATFORM_USRROOT=
+export TARGET_PLATFORM_USRLIBS=$TARGET_PLATFORM_USRROOT/usr/lib/arm-linux-gnueabihf
+export TARGET_JAVA_LIBS=$TARGET_PLATFORM_USRROOT/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm
export GLUEGEN_CPPTASKS_FILE="lib/gluegen-cpptasks-linux-armv6hf-ontarget.xml"