summaryrefslogtreecommitdiff
path: root/recipes/jamvm/jamvm-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/jamvm/jamvm-native.inc')
-rw-r--r--recipes/jamvm/jamvm-native.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/jamvm/jamvm-native.inc b/recipes/jamvm/jamvm-native.inc
index 97c17c4464..c1c1dada90 100644
--- a/recipes/jamvm/jamvm-native.inc
+++ b/recipes/jamvm/jamvm-native.inc
@@ -13,12 +13,17 @@ 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"
+
inherit native
S = "${WORKDIR}/jamvm-${PV}"
do_install_append() {
- ln -sf jamvm ${STAGING_BINDIR}/java
+ install -d ${D}${bindir}
+ install -m 0755 ${WORKDIR}/java ${D}${bindir}/
}
# Enforce usage of ecj-initial.