summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-7-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/openjdk-7-common.inc')
-rw-r--r--recipes-core/openjdk/openjdk-7-common.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc
index 6b02a4f..6005394 100644
--- a/recipes-core/openjdk/openjdk-7-common.inc
+++ b/recipes-core/openjdk/openjdk-7-common.inc
@@ -1,4 +1,42 @@
1SUMMARY = "Java runtime based upon the OpenJDK- and Icedtea Project"
2HOMEPAGE = "http://icedtea.classpath.org"
3LICENSE = "GPL-2.0-with-classpath-exception"
4PRIORITY = "optional"
5SECTION = "libs"
6
7ICEDTEA_VERSION = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1].split("-")[1] or '1.0'}"
8
9S = "${WORKDIR}/${ICEDTEA}"
10
11DEPENDS_append_libc-uclibc = " virtual/libiconv "
12
13# The OpenJDK build with interpreter optimizations for ARM depends on a binary
14# that generates constants for an assembler source file. There is no other
15# way than to generate this on a pseudo machine. Cross-compiling would not help
16# because structure sizes and/or alignment may differ.
17DEPENDS_append = " qemu-native "
18
19B = "${S}/build"
20
21JDK_HOME = "${libdir_jvm}/${JDK_DIR}"
22JDK_FAKE = "${WORKDIR}/fake-jdk"
23
24# Puts an OE specific string into the binary making it possible for the user
25# to know where it comes from (and blame the right people ...).
26DIST_ID = "Built for ${DISTRO}"
27DIST_NAME = "${DISTRO}"
28EXTRA_OEMAKE = 'DIST_NAME="${DIST_NAME}" DIST_ID="${DIST_ID}"'
29
30# llvm configure and compiles stuff
31export WANT_LLVM_RELEASE = "2.8"
32
33# Large stack is required at least on x86_64 host, otherwise random segfaults appear:
34QEMU = "${@qemu_target_binary(d)} ${QEMU_OPTIONS} -s 2097152"
35
36EXTRA_OEMAKE += 'QEMU="${QEMU}"'
37
1require openjdk-common.inc 38require openjdk-common.inc
39
2ICEDTEA = "icedtea-${ICEDTEA_VERSION}" 40ICEDTEA = "icedtea-${ICEDTEA_VERSION}"
3 41
4INC_PR = "r6" 42INC_PR = "r6"