From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wu2Cv-0000SF-BM for ptxdist@pengutronix.de; Mon, 09 Jun 2014 18:14:01 +0200 Received: by mail-wi0-f171.google.com with SMTP id n15so1532798wiw.4 for ; Mon, 09 Jun 2014 09:13:55 -0700 (PDT) Received: from [192.168.0.124] (19.Red-217-125-83.staticIP.rima-tde.net. [217.125.83.19]) by mx.google.com with ESMTPSA id l2sm15511367wix.13.2014.06.09.09.13.54 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 09 Jun 2014 09:13:55 -0700 (PDT) From: Guillermo Rodriguez Date: Mon, 09 Jun 2014 18:13:53 +0200 Message-ID: <1402330433.2432.19.camel@ubuntu.ubuntu-domain> Mime-Version: 1.0 Subject: [ptxdist] [PATCH] classpath: Fix JAVA autoconf variable (resending) Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 --- 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 -- ptxdist mailing list ptxdist@pengutronix.de