summaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts')
-rwxr-xr-xmake/scripts/make.gluegen.all.linux-armv7hf-cross.sh2
-rwxr-xr-xmake/scripts/make.gluegen.all.linux-armv7hf.sh18
2 files changed, 19 insertions, 1 deletions
diff --git a/make/scripts/make.gluegen.all.linux-armv7hf-cross.sh b/make/scripts/make.gluegen.all.linux-armv7hf-cross.sh
index f9b1b54..adc9a7f 100755
--- a/make/scripts/make.gluegen.all.linux-armv7hf-cross.sh
+++ b/make/scripts/make.gluegen.all.linux-armv7hf-cross.sh
@@ -32,7 +32,7 @@ export TARGET_PLATFORM_ROOT=/opt-linux-armv7-armhf
export TARGET_PLATFORM_LIBS=$TARGET_PLATFORM_ROOT/usr/lib
export TARGET_JAVA_LIBS=$TARGET_PLATFORM_ROOT/jre/lib/arm
-export GLUEGEN_CPPTASKS_FILE="lib/gluegen-cpptasks-linux-armv7hf.xml"
+export GLUEGEN_CPPTASKS_FILE="lib/gluegen-cpptasks-linux-armv6hf.xml"
#export JUNIT_DISABLED="true"
export JUNIT_RUN_ARG0="-Dnewt.test.Screen.disableScreenMode"
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