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 <[email protected]> --- rules/classpath.make | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/rules/classpath.make b/rules/classpath.make index ad3b7e7..c5aa02f 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 # -- 1.7.0.4 -- Guillermo Rodriguez Garcia [email protected] -- ptxdist mailing list [email protected]
