summaryrefslogtreecommitdiff
path: root/packages/jamvm/jamvm.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-01-15 09:18:57 +0000
committerKoen Kooi <koen@openembedded.org>2008-01-15 09:18:57 +0000
commitf0d173cd5077621891f8298dc259476c72719bc0 (patch)
tree2c9dc33c25bc107bff37418605793ebb2c279fef /packages/jamvm/jamvm.inc
parentfa04db1991f2372697d20bd79eb47fdeb784dd69 (diff)
parent405afb504f29cfeaf139558ffbef32d37b435828 (diff)
propagate from branch 'org.openembedded.dev' (head 6d44b490ec30acc0370a045d7b1eb3eae2b73ab9)
to branch 'org.openembedded.dev.avr32' (head 6793a5c97e2e2221d152d0e63239c891b2c4ec5e)
Diffstat (limited to 'packages/jamvm/jamvm.inc')
-rw-r--r--packages/jamvm/jamvm.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/jamvm/jamvm.inc b/packages/jamvm/jamvm.inc
new file mode 100644
index 0000000000..36378370c5
--- /dev/null
+++ b/packages/jamvm/jamvm.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "A compact Java Virtual Machine which conforms to the JVM specification version 2."
+HOMEPAGE = "http://jamvm.sourceforge.net/"
+LICENSE = "GPL"
+
+DEPENDS = "zlib classpath virtual/javac-native"
+RDEPENDS = "classpath"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz"
+
+RPROVIDES_jamvm = "java2-runtime"
+
+# This uses 32 bit arm, so force the instruction set to arm, not thumb
+ARM_INSTRUCTION_SET = "arm"
+
+inherit autotools update-alternatives
+
+EXTRA_OECONF = "--with-classpath-install-dir=${prefix}"
+CFLAGS += "-DDEFAULT_MAX_HEAP=16*MB"
+
+ALTERNATIVE_NAME = "java"
+ALTERNATIVE_PATH = "${bindir}/jamvm"
+ALTERNATIVE_PRIORITY = "10"