Added jamvm-native as a provider for virtual/java-native. Use this if
authorRobert Schuster <thebohemian@gmx.net>
Sun, 13 Jul 2008 13:35:46 +0000 (13:35 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Sun, 13 Jul 2008 13:35:46 +0000 (13:35 +0000)
you have trouble with cacao-native (which is somehow miscompiled with
Debian's GCC 4.3.1).
jamvm-native 1.5.1: New recipe.

packages/jamvm/jamvm-native.inc [new file with mode: 0644]
packages/jamvm/jamvm-native_1.5.1.bb [new file with mode: 0644]

diff --git a/packages/jamvm/jamvm-native.inc b/packages/jamvm/jamvm-native.inc
new file mode 100644 (file)
index 0000000..07eecb5
--- /dev/null
@@ -0,0 +1,18 @@
+require jamvm.inc 
+
+DEPENDS = "zlib-native classpath-native virtual/javac-native"
+
+PROVIDES_jamvm = "virtual/java-native"
+
+RPROVIDES_jamvm = ""
+
+# This uses 32 bit arm, so force the instruction set to arm, not thumb
+ARM_INSTRUCTION_SET = "arm"
+
+inherit native
+
+S = "${WORKDIR}/jamvm-${PV}"
+
+do_install_append() {
+  ln -sf jamvm ${STAGING_BINDIR}/java
+}
diff --git a/packages/jamvm/jamvm-native_1.5.1.bb b/packages/jamvm/jamvm-native_1.5.1.bb
new file mode 100644 (file)
index 0000000..e174e2a
--- /dev/null
@@ -0,0 +1,4 @@
+require jamvm-native.inc
+
+PR = "r0"
+