summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/jamvm/jamvm-native.inc8
-rw-r--r--packages/jamvm/jamvm-native_1.5.1.bb2
2 files changed, 7 insertions, 3 deletions
diff --git a/packages/jamvm/jamvm-native.inc b/packages/jamvm/jamvm-native.inc
index fc9023a62c..c3e4f84a60 100644
--- a/packages/jamvm/jamvm-native.inc
+++ b/packages/jamvm/jamvm-native.inc
@@ -1,9 +1,9 @@
require jamvm.inc
-DEPENDS = "zlib-native classpath-native virtual/javac-native"
+DEPENDS = "zlib-native classpath-native ecj-initial"
RDEPENDS = ""
-PROVIDES_jamvm = "virtual/java-native"
+PROVIDES = "virtual/java-native"
RPROVIDES_jamvm = ""
@@ -17,3 +17,7 @@ S = "${WORKDIR}/jamvm-${PV}"
do_install_append() {
ln -sf jamvm ${STAGING_BINDIR}/java
}
+
+# Enforce usage of ecj-initial.
+export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
+
diff --git a/packages/jamvm/jamvm-native_1.5.1.bb b/packages/jamvm/jamvm-native_1.5.1.bb
index e174e2a312..3b42dbbef6 100644
--- a/packages/jamvm/jamvm-native_1.5.1.bb
+++ b/packages/jamvm/jamvm-native_1.5.1.bb
@@ -1,4 +1,4 @@
require jamvm-native.inc
-PR = "r0"
+PR = "r1"