summaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts')
-rw-r--r--make/scripts/crosstest-java-linux-armv7-rel.sh3
-rw-r--r--make/scripts/crosstest-junit-linux-armv7-rel.sh3
-rwxr-xr-xmake/scripts/make.gluegen.all.linux-armv7-cross.sh3
-rwxr-xr-xmake/scripts/make.gluegen.all.linux-armv7.sh3
4 files changed, 10 insertions, 2 deletions
diff --git a/make/scripts/crosstest-java-linux-armv7-rel.sh b/make/scripts/crosstest-java-linux-armv7-rel.sh
index f49383a..2b44379 100644
--- a/make/scripts/crosstest-java-linux-armv7-rel.sh
+++ b/make/scripts/crosstest-java-linux-armv7-rel.sh
@@ -6,6 +6,7 @@ export TARGET_UID=jogamp
export TARGET_IP=beagle01
export TARGET_ROOT=projects-cross
+export ANT_PATH=/usr/share/ant
export BUILD_DIR=../build-linux-armv7
#TSTCLASS=com.jogamp.gluegen.test.junit.generation.Test1p2ProcAddressEmitter
@@ -19,7 +20,7 @@ cd $TARGET_ROOT/gluegen/make ;
LD_LIBRARY_PATH=$BUILD_DIR/obj:$BUILD_DIR/test/build/natives \
java \
-Djava.library.path=$BUILD_DIR/obj:$BUILD_DIR/test/build/natives \
- -Djava.class.path=lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:$BUILD_DIR/gluegen.jar:$BUILD_DIR/test/build/gluegen-test.jar \
+ -Djava.class.path=lib/junit.jar:$ANT_PATH/lib/ant.jar:$ANT_PATH/lib/ant-junit.jar:$BUILD_DIR/gluegen.jar:$BUILD_DIR/test/build/gluegen-test.jar \
-Djogamp.debug.JNILibLoader=true \
-Djogamp.debug.NativeLibrary=true \
-Djogamp.debug.NativeLibrary.Lookup=true \
diff --git a/make/scripts/crosstest-junit-linux-armv7-rel.sh b/make/scripts/crosstest-junit-linux-armv7-rel.sh
index 519824b..6db3b49 100644
--- a/make/scripts/crosstest-junit-linux-armv7-rel.sh
+++ b/make/scripts/crosstest-junit-linux-armv7-rel.sh
@@ -7,6 +7,7 @@ export TARGET_IP=beagle01
export TARGET_ROOT=projects-cross
export BUILD_DIR=../build-linux-armv7
+export ANT_PATH=/usr/share/ant
TSTCLASS=com.jogamp.gluegen.test.junit.generation.Test1p2ProcAddressEmitter
@@ -18,7 +19,7 @@ cd $TARGET_ROOT/gluegen/make ;
LD_LIBRARY_PATH=$BUILD_DIR/obj:$BUILD_DIR/test/build/natives \
java \
-Djava.library.path=$BUILD_DIR/obj:$BUILD_DIR/test/build/natives \
- -Djava.class.path=lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:$BUILD_DIR/gluegen.jar:$BUILD_DIR/test/build/gluegen-test.jar \
+ -Djava.class.path=lib/junit.jar:$ANT_PATH/lib/ant.jar:$ANT_PATH/lib/ant-junit.jar:$BUILD_DIR/gluegen.jar:$BUILD_DIR/test/build/gluegen-test.jar \
-Djogamp.debug.JNILibLoader=true \
-Djogamp.debug.NativeLibrary=true \
-Djogamp.debug.NativeLibrary.Lookup=true \
diff --git a/make/scripts/make.gluegen.all.linux-armv7-cross.sh b/make/scripts/make.gluegen.all.linux-armv7-cross.sh
index 1002756..369a497 100755
--- a/make/scripts/make.gluegen.all.linux-armv7-cross.sh
+++ b/make/scripts/make.gluegen.all.linux-armv7-cross.sh
@@ -19,6 +19,9 @@ export TARGET_IP=beagle01
export TARGET_ROOT=/home/jogamp/projects-cross
export TARGET_ANT_HOME=/usr/share/ant
+export TARGET_PLATFORM_LIBS=/opt-linux-armv7-eabi
+export TARGET_JAVA_LIBS=/opt-linux-armv7-eabi/jre/lib/arm
+
ant \
-Drootrel.build=build-linux-armv7 \
-Dgluegen.cpptasks.detected.os=true \
diff --git a/make/scripts/make.gluegen.all.linux-armv7.sh b/make/scripts/make.gluegen.all.linux-armv7.sh
index 527347c..2221c10 100755
--- a/make/scripts/make.gluegen.all.linux-armv7.sh
+++ b/make/scripts/make.gluegen.all.linux-armv7.sh
@@ -7,6 +7,9 @@
# -DisLinuxX86=true \
# -DisX11=true \
+export TARGET_PLATFORM_LIBS=/usr/lib/arm-linux-gnueabi
+export TARGET_JAVA_LIBS=/usr/lib/jvm/default-java/jre/lib/arm
+
ant \
-Drootrel.build=build-linux-armv7 \
-DuseKD=true \