[oe] [meta-java][PATCH] jamvm: fix the building issue of missing ecj-initial
Fupan Li
fupan.li at windriver.com
Wed Oct 18 05:57:21 UTC 2017
Both of building jamvm and jamvm-native need ecj-initial
native tool, but the DEPENDS missed it, thus add ecj-initial
to its DEPENDS. This commit will fix the following building error:
linux/jamvm/2.0.0-devel+gitAUTOINC+6cef41d859-r0/recipe-sysroot-native/usr/bin/ecj-initial: No such file or directory
| Makefile:660: recipe for target 'classes.zip' failed
| make[6]: *** [classes.zip] Error 127
Signed-off-by: Fupan Li <fupan.li at windriver.com>
---
recipes-core/jamvm/jamvm.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc
index cad91a2..56b01a6 100644
--- a/recipes-core/jamvm/jamvm.inc
+++ b/recipes-core/jamvm/jamvm.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://jamvm.sourceforge.net/"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
-DEPENDS = "zlib classpath virtual/javac-native libffi virtual/java-initial-native"
+DEPENDS = "zlib classpath virtual/javac-native libffi virtual/java-initial-native classpath-initial-native ecj-initial-native"
DEPENDS_virtclass-native = "virtual/java-initial-native classpath-initial-native zlib-native classpath-native ecj-initial-native libffi-native"
RDEPENDS_${PN} = "classpath"
@@ -21,7 +21,7 @@ inherit java autotools update-alternatives pkgconfig relative_symlinks
# This uses 32 bit arm, so force the instruction set to arm, not thumb
ARM_INSTRUCTION_SET = "arm"
-do_configure_append_virtclass-native() {
+do_configure_append() {
sed -i -e"s|STAGING_LIBDIR_NATIVE|${STAGING_LIBDIR_NATIVE}|g" \
-e "s|STAGING_DATADIR_NATIVE|${STAGING_DATADIR_NATIVE}|g" \
${WORKDIR}/java
--
2.7.4
More information about the Openembedded-devel
mailing list