diff options
author | Xerxes Rånby <[email protected]> | 2012-08-06 21:00:19 +0000 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2012-08-06 21:00:19 +0000 |
commit | 6e4051d8c9faeec003b15b68bd01e3caf22869fb (patch) | |
tree | 472f836df5c7591156863e860ec6eaa7b67b7938 /make/scripts/make.jogl.all.linux-armv7hf.sh | |
parent | 4e70a4811a860255b53eeae7a841ca473e1aba86 (diff) |
Use armv6 optimization for armhf to stay compatible with the new Raspberry Pi Raspbian distribution.
Diffstat (limited to 'make/scripts/make.jogl.all.linux-armv7hf.sh')
-rwxr-xr-x | make/scripts/make.jogl.all.linux-armv7hf.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/make/scripts/make.jogl.all.linux-armv7hf.sh b/make/scripts/make.jogl.all.linux-armv7hf.sh new file mode 100755 index 000000000..a94b05824 --- /dev/null +++ b/make/scripts/make.jogl.all.linux-armv7hf.sh @@ -0,0 +1,27 @@ +#! /bin/sh + +# arm-linux-gnueabihf == armhf triplet +PATH=`pwd`/../../gluegen/make/lib/linux/arm-linux-gnueabihf/bin:$PATH +export PATH + +# -Dc.compiler.debug=true +# -Dgluegen.cpptasks.detected.os=true \ +# -DisUnix=true \ +# -DisLinux=true \ +# -DisLinuxARMv7=true \ +# -DisX11=false \ + +export TARGET_PLATFORM_ROOT=/ +export TARGET_PLATFORM_LIBS=/usr/lib/arm-linux-gnueabihf +export TARGET_JAVA_LIBS=/usr/lib/jvm/java-6-openjdk-armhf/jre/lib/arm + +export GLUEGEN_CPPTASKS_FILE="../../gluegen/make/lib/gluegen-cpptasks-linux-armv6hf.xml" + +ant \ + -Drootrel.build=build-linux-armv7hf \ + -Dsetup.addNativeKD=true \ + -Dsetup.addNativeOpenMAX=true \ + -Dsetup.addNativeBroadcomEGL=true \ + -Djunit.run.arg0="-Dnewt.test.Screen.disableScreenMode" \ + $* 2>&1 | tee make.jogl.all.linux-armv7hf.log + |