aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo@ribalda.com>2019-07-05 13:18:11 +0200
committerRichard Leitner <richard.leitner@skidata.com>2019-07-09 14:39:58 +0200
commit529b99d0e43f6569be711b7572db210525c797cc (patch)
tree735fa4d4e3f0c476d25474083604217f6d335dc9
parent62657ff82524ad28313c84089ee12c3654056941 (diff)
downloadmeta-java-529b99d0e43f6569be711b7572db210525c797cc.tar.gz
meta-java-529b99d0e43f6569be711b7572db210525c797cc.tar.bz2
meta-java-529b99d0e43f6569be711b7572db210525c797cc.zip
jamvm: Fix binary name for javac
ecj-initial-native is not a dependency, and even if we add it, we get a compilation error. Fixes: | /bin/bash: /workdir/build/tmp/work/dbfp4-poky-linux/jamvm/2.0.0-devel+gitAUTOINC+6cef41d859-r0/recipe-sysroot-native/usr/bin/ecj-initial: No such file or directory | Makefile:663: recipe for target 'classes.zip' failed Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/jamvm/jamvm.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc
index fc21380..cdf087e 100644
--- a/recipes-core/jamvm/jamvm.inc
+++ b/recipes-core/jamvm/jamvm.inc
@@ -34,8 +34,11 @@ EXTRA_OECONF = "--with-classpath-install-dir=${prefix} --libdir=${libdir}/jamvm
# Needed for big compilation targets like OpenJDK
CFLAGS_append_class-native = " -DDEFAULT_MAX_HEAP=1024*MB"
+EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/javac \
+ GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \
+ "
# Enforce usage of ecj-initial.
-EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \
+EXTRA_OEMAKE_class-native = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \
GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \
"