diff options
author | Xerxes Rånby <[email protected]> | 2012-08-07 01:10:17 +0000 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2012-08-07 01:10:17 +0000 |
commit | 09050d80ed163f1468b8048cfd037772de316eee (patch) | |
tree | 0eebc8089271b6e02eca1566ec49ab1cdab2c333 /make/scripts | |
parent | 2fbad155b38a32f2fb4f8989ffd3ea3dc71f2915 (diff) |
Use armv6 optimization for armhf to stay compatible with the new Raspberry Pi Raspbian distribution.
Diffstat (limited to 'make/scripts')
-rwxr-xr-x | make/scripts/make.gluegen.all.linux-armv7hf-cross.sh | 2 | ||||
-rwxr-xr-x | make/scripts/make.gluegen.all.linux-armv7hf.sh | 18 |
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 |