From fd24d9ea8521fe4893940be9e3803cd542e0cd97 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 27 Feb 2012 22:49:03 +0100 Subject: Add linux-armv7 crosscompilation --- build.xml | 29 ++++++++++++++++++- scripts/make.jocl.all.linux-armv7-cross.sh | 45 ++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100755 scripts/make.jocl.all.linux-armv7-cross.sh diff --git a/build.xml b/build.xml index c4ae5b33..2fa7263c 100644 --- a/build.xml +++ b/build.xml @@ -1,7 +1,7 @@ - + Builds, tests, and runs the project JOCL. @@ -659,6 +659,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/make.jocl.all.linux-armv7-cross.sh b/scripts/make.jocl.all.linux-armv7-cross.sh new file mode 100755 index 00000000..1ded5ca5 --- /dev/null +++ b/scripts/make.jocl.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.jocl.all.linux-armv7-cross.log + + + + -- cgit v1.2.3