aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/make.gluegen.all.linux-armv7hf.sh
diff options
context:
space:
mode:
authorXerxes Rånby <[email protected]>2012-08-07 01:10:17 +0000
committerXerxes Rånby <[email protected]>2012-08-07 01:10:17 +0000
commit09050d80ed163f1468b8048cfd037772de316eee (patch)
tree0eebc8089271b6e02eca1566ec49ab1cdab2c333 /make/scripts/make.gluegen.all.linux-armv7hf.sh
parent2fbad155b38a32f2fb4f8989ffd3ea3dc71f2915 (diff)
Use armv6 optimization for armhf to stay compatible with the new Raspberry Pi Raspbian distribution.
Diffstat (limited to 'make/scripts/make.gluegen.all.linux-armv7hf.sh')
-rwxr-xr-xmake/scripts/make.gluegen.all.linux-armv7hf.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/make/scripts/make.gluegen.all.linux-armv7hf.sh b/make/scripts/make.gluegen.all.linux-armv7hf.sh
new file mode 100755
index 0000000..54fe85a
--- /dev/null
+++ b/make/scripts/make.gluegen.all.linux-armv7hf.sh
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+# -Dc.compiler.debug=true
+# -Dgluegen.cpptasks.detected.os=true \
+# -DisUnix=true \
+# -DisLinux=true \
+# -DisLinuxX86=true \
+# -DisX11=true \
+
+# arm-linux-gnueabihf == armhf triplet
+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="lib/gluegen-cpptasks-linux-armv6hf.xml"
+
+ant \
+ -Drootrel.build=build-linux-armv7hf \
+ $* 2>&1 | tee make.gluegen.all.linux-armv7hf.log