diff options
Diffstat (limited to 'recipes-core/jamvm/jamvm.inc')
-rw-r--r-- | recipes-core/jamvm/jamvm.inc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc index b03a5b9..693817f 100644 --- a/recipes-core/jamvm/jamvm.inc +++ b/recipes-core/jamvm/jamvm.inc | |||
@@ -4,25 +4,25 @@ LICENSE = "GPL-2.0" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
5 | 5 | ||
6 | DEPENDS = "zlib classpath virtual/javac-native libffi virtual/java-initial-native" | 6 | DEPENDS = "zlib classpath virtual/javac-native libffi virtual/java-initial-native" |
7 | DEPENDS_class-native = "virtual/java-initial-native classpath-initial-native zlib-native classpath-native ecj-initial-native libffi-native" | 7 | DEPENDS:class-native = "virtual/java-initial-native classpath-initial-native zlib-native classpath-native ecj-initial-native libffi-native" |
8 | 8 | ||
9 | RDEPENDS_${PN} = "classpath" | 9 | RDEPENDS:${PN} = "classpath" |
10 | RDEPENDS_${PN}_class-native = "" | 10 | RDEPENDS:${PN}:class-native = "" |
11 | 11 | ||
12 | PROVIDES_class-native = "virtual/java-native" | 12 | PROVIDES:class-native = "virtual/java-native" |
13 | RPROVIDES_${PN} = "java2-runtime" | 13 | RPROVIDES:${PN} = "java2-runtime" |
14 | RPROVIDES_${PN}_class-native = "" | 14 | RPROVIDES:${PN}:class-native = "" |
15 | 15 | ||
16 | BBCLASSEXTEND = "native" | 16 | BBCLASSEXTEND = "native" |
17 | 17 | ||
18 | inherit java autotools update-alternatives pkgconfig relative_symlinks features_check | 18 | inherit java autotools update-alternatives pkgconfig relative_symlinks features_check |
19 | 19 | ||
20 | REQUIRED_DISTRO_FEATURES_class-target = "x11" | 20 | REQUIRED_DISTRO_FEATURES:class-target = "x11" |
21 | 21 | ||
22 | # This uses 32 bit arm, so force the instruction set to arm, not thumb | 22 | # This uses 32 bit arm, so force the instruction set to arm, not thumb |
23 | ARM_INSTRUCTION_SET = "arm" | 23 | ARM_INSTRUCTION_SET = "arm" |
24 | 24 | ||
25 | do_configure_append_class-native() { | 25 | do_configure:append:class-native() { |
26 | sed -i -e"s|STAGING_LIBDIR_NATIVE|${STAGING_LIBDIR_NATIVE}|g" \ | 26 | sed -i -e"s|STAGING_LIBDIR_NATIVE|${STAGING_LIBDIR_NATIVE}|g" \ |
27 | -e "s|STAGING_DATADIR_NATIVE|${STAGING_DATADIR_NATIVE}|g" \ | 27 | -e "s|STAGING_DATADIR_NATIVE|${STAGING_DATADIR_NATIVE}|g" \ |
28 | ${WORKDIR}/java | 28 | ${WORKDIR}/java |
@@ -32,28 +32,28 @@ do_configure_append_class-native() { | |||
32 | EXTRA_OECONF = "--with-classpath-install-dir=${prefix} --libdir=${libdir}/jamvm --enable-ffi --disable-int-inlining" | 32 | EXTRA_OECONF = "--with-classpath-install-dir=${prefix} --libdir=${libdir}/jamvm --enable-ffi --disable-int-inlining" |
33 | 33 | ||
34 | # Needed for big compilation targets like OpenJDK | 34 | # Needed for big compilation targets like OpenJDK |
35 | CFLAGS_append_class-native = " -DDEFAULT_MAX_HEAP=1024*MB" | 35 | CFLAGS:append:class-native = " -DDEFAULT_MAX_HEAP=1024*MB" |
36 | 36 | ||
37 | EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/javac \ | 37 | EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/javac \ |
38 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ | 38 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ |
39 | " | 39 | " |
40 | # Enforce usage of ecj-initial. | 40 | # Enforce usage of ecj-initial. |
41 | EXTRA_OEMAKE_class-native = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \ | 41 | EXTRA_OEMAKE:class-native = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \ |
42 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ | 42 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ |
43 | " | 43 | " |
44 | 44 | ||
45 | do_install_append_class-native() { | 45 | do_install:append:class-native() { |
46 | install -d ${D}${bindir} | 46 | install -d ${D}${bindir} |
47 | install -m 0755 ${WORKDIR}/java ${D}${bindir}/java | 47 | install -m 0755 ${WORKDIR}/java ${D}${bindir}/java |
48 | 48 | ||
49 | } | 49 | } |
50 | 50 | ||
51 | PRIVATE_LIBS = "libjvm.so" | 51 | PRIVATE_LIBS = "libjvm.so" |
52 | INSANE_SKIP_${PN} = "dev-so" | 52 | INSANE_SKIP:${PN} = "dev-so" |
53 | 53 | ||
54 | FILES_${PN} += "${libdir}/jamvm/lib*.so" | 54 | FILES:${PN} += "${libdir}/jamvm/lib*.so" |
55 | 55 | ||
56 | ALTERNATIVE_${PN} = "java" | 56 | ALTERNATIVE:${PN} = "java" |
57 | ALTERNATIVE_TARGET = "${bindir}/jamvm" | 57 | ALTERNATIVE_TARGET = "${bindir}/jamvm" |
58 | ALTERNATIVE_PRIORITY = "4" | 58 | ALTERNATIVE_PRIORITY = "4" |
59 | # shared state for jamvm-native does not work | 59 | # shared state for jamvm-native does not work |