From 98f2fbbf413f9a14551f3517b33079f7b8ac489d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 27 Feb 2012 20:00:29 +0100 Subject: Enable cross compile/test on linux-armv7 (including armv7 openal soft library) --- .classpath | 8 +- make/build-test.xml | 157 ++++++++++++++++++++++-- make/build.xml | 6 +- make/lib/FILES.txt | 3 + make/lib/linux-armv7/libopenal.so | Bin 0 -> 477548 bytes make/scripts/make.joal.all.linux-armv7-cross.sh | 45 +++++++ 6 files changed, 203 insertions(+), 16 deletions(-) create mode 100644 make/lib/linux-armv7/libopenal.so create mode 100755 make/scripts/make.joal.all.linux-armv7-cross.sh diff --git a/.classpath b/.classpath index cdbe50b..29d8346 100644 --- a/.classpath +++ b/.classpath @@ -3,14 +3,8 @@ - - - - - - - + diff --git a/make/build-test.xml b/make/build-test.xml index 3e8cee1..869f1e1 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -35,7 +35,13 @@ - + JUNIT Tests JOAL + + + + + + @@ -46,6 +52,9 @@ + + + @@ -62,7 +71,8 @@ - + + @@ -82,7 +92,7 @@ - - - + @@ -127,7 +135,6 @@ - @@ -175,9 +182,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -189,7 +189,9 @@ - + + + diff --git a/make/lib/FILES.txt b/make/lib/FILES.txt index 4057426..d5966d1 100644 --- a/make/lib/FILES.txt +++ b/make/lib/FILES.txt @@ -2,6 +2,9 @@ Software OpenAL bundled libs .. Linux x32 and x64: ubuntu 10.10 1:1.12.854-2 + +Linux armv7: + ubuntu 1:1.13-2 Windows x32 and x64: oalinst: diff --git a/make/lib/linux-armv7/libopenal.so b/make/lib/linux-armv7/libopenal.so new file mode 100644 index 0000000..2cd2e3e Binary files /dev/null and b/make/lib/linux-armv7/libopenal.so differ diff --git a/make/scripts/make.joal.all.linux-armv7-cross.sh b/make/scripts/make.joal.all.linux-armv7-cross.sh new file mode 100755 index 0000000..2f9e5ff --- /dev/null +++ b/make/scripts/make.joal.all.linux-armv7-cross.sh @@ -0,0 +1,45 @@ +#! /bin/sh + +SDIR=`dirname $0` + +if [ -e $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then + . $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh +fi + +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 \ +# -DisLinuxARMv7=true \ +# -DisX11=false \ + +export NODE_LABEL=. + +export HOST_UID=jogamp +export HOST_IP=jogamp02 +export HOST_RSYNC_ROOT=PROJECTS/JOGL + +export TARGET_UID=jogamp +export TARGET_IP=panda01 +#export TARGET_IP=jautab02 +export TARGET_ROOT=/home/jogamp/projects-cross +export TARGET_ANT_HOME=/usr/share/ant + +export TARGET_PLATFORM_LIBS=/opt-linux-armv7-eabi/lib +export TARGET_JAVA_LIBS=/opt-linux-armv7-eabi/jre/lib/arm + +export GLUEGEN_CPPTASKS_FILE="../../gluegen/make/lib/gluegen-cpptasks-linux-armv7.xml" + +#export JUNIT_DISABLED="true" +#export JUNIT_RUN_ARG0="-Dnewt.test.Screen.disableScreenMode" + +ant \ + -Drootrel.build=build-linux-armv7 \ + $* 2>&1 | tee make.joal.all.linux-armv7-cross.log + + + + -- cgit v1.2.3