jamvm: fix the building issue of missing ecj-initial
PATCH 1/1 jamvm: fix the building issue of missing ecj-initial
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 <[email protected]>
--- recipes-core/jamvm/jamvm.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-core/jamvm/jamvm.inc +2 -2
@@ -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
Signature · 1 line
2.7.4