summaryrefslogtreecommitdiffstats
path: root/rules/classpath.make
diff options
context:
space:
mode:
authorGuillermo Rodriguez <guille.rodriguez@gmail.com>2014-06-09 18:13:53 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-06-13 08:38:14 +0200
commit5f17e34c1d25c54a998fcb7f1f9b8f8b0e50e04d (patch)
tree3d13cc6f58194a0ec731832fadefc1f5b4259fcf /rules/classpath.make
parent0893ecb054eba5e959b9e23c1962e7684086aecb (diff)
downloadptxdist-5f17e34c1d25c54a998fcb7f1f9b8f8b0e50e04d.tar.gz
ptxdist-5f17e34c1d25c54a998fcb7f1f9b8f8b0e50e04d.tar.xz
classpath: Fix JAVA autoconf variable
JAVA must point to the java binary on the target, not on the host This is used in the shell scripts in tools/*, which are installed on the target Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/classpath.make')
-rw-r--r--rules/classpath.make6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/classpath.make b/rules/classpath.make
index ad3b7e7f0..c5aa02fb5 100644
--- a/rules/classpath.make
+++ b/rules/classpath.make
@@ -32,10 +32,14 @@ CLASSPATH_PATH := PATH=$(CROSS_PATH)
CLASSPATH_ENV := \
$(CROSS_ENV) \
JAVAC=$(PTXCONF_SETUP_JAVA_SDK)/bin/javac \
- JAVA=$(PTXCONF_SETUP_JAVA_SDK)/bin/java \
+ JAVA=jamvm \
CLASSPATH=$(PTXCONF_SETUP_JAVA_SDK)/jre/lib \
+ ac_cv_prog_java_works=yes \
ac_cv_prog_javac_is_gcj=no
+# JAVA must point to the java binary on the target, not on the host
+# This is used by the scripts in tools/*
+
#
# autoconf
#