summaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jogl.all.linux-armv6hf-cross.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-04-08 05:47:44 +0200
committerSven Gothel <[email protected]>2019-04-08 05:47:44 +0200
commit1ecfcebb0604abc42e70b986f6358fcf282f47c7 (patch)
tree940d09d85b8d7c00c774821acf6abfc0a9561323 /make/scripts/make.jogl.all.linux-armv6hf-cross.sh
parentab10b11a9c94d9597f788e218fe45ede49c67f33 (diff)
Bug 1190: Adapt cross build scripts
Diffstat (limited to 'make/scripts/make.jogl.all.linux-armv6hf-cross.sh')
-rwxr-xr-xmake/scripts/make.jogl.all.linux-armv6hf-cross.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/make/scripts/make.jogl.all.linux-armv6hf-cross.sh b/make/scripts/make.jogl.all.linux-armv6hf-cross.sh
index 0592f9a25..8f12a6863 100755
--- a/make/scripts/make.jogl.all.linux-armv6hf-cross.sh
+++ b/make/scripts/make.jogl.all.linux-armv6hf-cross.sh
@@ -29,9 +29,10 @@ export TARGET_IP=panda02
export TARGET_ROOT=/home/jogamp/projects-cross
export TARGET_ANT_HOME=/usr/share/ant
-export TARGET_PLATFORM_ROOT=/opt-linux-armv6-armhf
-export TARGET_PLATFORM_LIBS=$TARGET_PLATFORM_ROOT/usr/lib
-export TARGET_JAVA_LIBS=$TARGET_PLATFORM_ROOT/jre/lib/arm
+export TARGET_PLATFORM_SYSROOT=`gcc --print-sysroot`
+export TARGET_PLATFORM_USRROOT=/opt-linux-armv6-armhf
+export TARGET_PLATFORM_USRLIBS=$TARGET_PLATFORM_USRROOT/usr/lib
+export TARGET_JAVA_LIBS=$TARGET_PLATFORM_USRROOT/jre/lib/arm
export GLUEGEN_CPPTASKS_FILE="../../gluegen/make/lib/gluegen-cpptasks-linux-armv6hf.xml"