summaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jogl.all.linux-armv6.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/make.jogl.all.linux-armv6.sh')
-rwxr-xr-xmake/scripts/make.jogl.all.linux-armv6.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/make/scripts/make.jogl.all.linux-armv6.sh b/make/scripts/make.jogl.all.linux-armv6.sh
new file mode 100755
index 000000000..3d526ea12
--- /dev/null
+++ b/make/scripts/make.jogl.all.linux-armv6.sh
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+# arm-linux-gnueabi == armel triplet
+PATH=`pwd`/../../gluegen/make/lib/linux/arm-linux-gnueabi/bin:$PATH
+export PATH
+
+# -Dc.compiler.debug=true
+# -Dgluegen.cpptasks.detected.os=true \
+# -DisUnix=true \
+# -DisLinux=true \
+# -DisLinuxARMv6=true \
+# -DisX11=false \
+
+export TARGET_PLATFORM_ROOT=/
+export TARGET_PLATFORM_LIBS=/usr/lib/arm-linux-gnueabi
+export TARGET_JAVA_LIBS=/usr/lib/jvm/default-java/jre/lib/arm
+
+export GLUEGEN_CPPTASKS_FILE="../../gluegen/make/lib/gluegen-cpptasks-linux-armv6.xml"
+
+ant \
+ -Drootrel.build=build-linux-armv6 \
+ -Dsetup.addNativeKD=true \
+ -Dsetup.addNativeOpenMAX=true \
+ -Dsetup.addNativeBroadcom=true \
+ -Djunit.run.arg0="-Dnewt.test.Screen.disableScreenMode" \
+ $* 2>&1 | tee make.jogl.all.linux-armv6.log
+