diff options
| author | Ricardo Ribalda Delgado <ricardo@ribalda.com> | 2019-07-05 13:18:11 +0200 |
|---|---|---|
| committer | Richard Leitner <richard.leitner@skidata.com> | 2019-07-09 14:39:58 +0200 |
| commit | 529b99d0e43f6569be711b7572db210525c797cc (patch) | |
| tree | 735fa4d4e3f0c476d25474083604217f6d335dc9 | |
| parent | 62657ff82524ad28313c84089ee12c3654056941 (diff) | |
| download | meta-java-529b99d0e43f6569be711b7572db210525c797cc.tar.gz | |
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.inc | 5 |
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 | |||
| 34 | # Needed for big compilation targets like OpenJDK | 34 | # Needed for big compilation targets like OpenJDK |
| 35 | CFLAGS_append_class-native = " -DDEFAULT_MAX_HEAP=1024*MB" | 35 | CFLAGS_append_class-native = " -DDEFAULT_MAX_HEAP=1024*MB" |
| 36 | 36 | ||
| 37 | EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/javac \ | ||
| 38 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ | ||
| 39 | " | ||
| 37 | # Enforce usage of ecj-initial. | 40 | # Enforce usage of ecj-initial. |
| 38 | EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \ | 41 | EXTRA_OEMAKE_class-native = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \ |
| 39 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ | 42 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ |
| 40 | " | 43 | " |
| 41 | 44 | ||
