diff options
author | Robert Schuster <robertschuster@fsfe.org> | 2010-07-16 14:05:48 +0200 |
---|---|---|
committer | Robert Schuster <robertschuster@fsfe.org> | 2010-07-16 14:07:51 +0200 |
commit | 505ca9b45dc38d866001399e31e400e0001bf466 (patch) | |
tree | 0393e0c3a003c601fed1946d29fc56737b0c86cc /recipes/jamvm/jamvm-native.inc | |
parent | a573f4c1b5a5bdd8def89a33128ff7c4d544f30c (diff) | |
download | openembedded-505ca9b45dc38d866001399e31e400e0001bf466.tar.gz |
jamvm-native: Removed restart workaround, use libffi instead of custom assembly code.
Diffstat (limited to 'recipes/jamvm/jamvm-native.inc')
-rw-r--r-- | recipes/jamvm/jamvm-native.inc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes/jamvm/jamvm-native.inc b/recipes/jamvm/jamvm-native.inc index c1c1dada90..853c38daae 100644 --- a/recipes/jamvm/jamvm-native.inc +++ b/recipes/jamvm/jamvm-native.inc @@ -1,10 +1,14 @@ require jamvm.inc -DEPENDS = "zlib-native classpath-native ecj-initial" +DEPENDS = "zlib-native classpath-native ecj-initial libffi-native" RDEPENDS_${PN} = "" PROVIDES = "virtual/java-native" +# Use libffi instead of handcoded JNI calling code. This code seems to have issues which only randomly +# trigger a segfault. +EXTRA_OECONF += "--enable-ffi" + RPROVIDES_jamvm = "" # This uses 32 bit arm, so force the instruction set to arm, not thumb @@ -13,9 +17,7 @@ ARM_INSTRUCTION_SET = "arm" # Needed for big compilation targets like OpenJDK CFLAGS += "-DDEFAULT_MAX_HEAP=2048*MB" -EXTRA_OECONF += "--with-program-suffix=-bin" - -SRC_URI += "file://java" +#SRC_URI += "file://java" inherit native @@ -23,7 +25,7 @@ S = "${WORKDIR}/jamvm-${PV}" do_install_append() { install -d ${D}${bindir} - install -m 0755 ${WORKDIR}/java ${D}${bindir}/ + ln -s ${bindir}/jamvm ${D}${bindir}/java } # Enforce usage of ecj-initial. |