summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/openjdk-common.inc')
-rw-r--r--recipes-core/openjdk/openjdk-common.inc37
1 files changed, 0 insertions, 37 deletions
diff --git a/recipes-core/openjdk/openjdk-common.inc b/recipes-core/openjdk/openjdk-common.inc
index ce3e39e..01a0a2a 100644
--- a/recipes-core/openjdk/openjdk-common.inc
+++ b/recipes-core/openjdk/openjdk-common.inc
@@ -1,44 +1,7 @@
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
19inherit java autotools gettext qemu pkgconfig 1inherit java autotools gettext qemu pkgconfig
20inherit openjdk-build-helper 2inherit openjdk-build-helper
21 3
22B = "${S}/build"
23
24JDK_ARCH = "${@openjdk_build_helper_get_jdk_arch(d)}" 4JDK_ARCH = "${@openjdk_build_helper_get_jdk_arch(d)}"
25JDK_HOME = "${libdir_jvm}/${JDK_DIR}"
26JDK_FAKE = "${WORKDIR}/fake-jdk"
27
28# Puts an OE specific string into the binary making it possible for the user
29# to know where it comes from (and blame the right people ...).
30DIST_ID = "Built for ${DISTRO}"
31DIST_NAME = "${DISTRO}"
32EXTRA_OEMAKE = 'DIST_NAME="${DIST_NAME}" DIST_ID="${DIST_ID}"'
33
34# llvm configure and compiles stuff
35
36export WANT_LLVM_RELEASE = "2.8"
37 5
38# Provides the target architecture to the configure script. 6# Provides the target architecture to the configure script.
39export LLVM_CONFIGURE_ARCH="${@openjdk_build_helper_get_llvm_configure_arch(d)}" 7export LLVM_CONFIGURE_ARCH="${@openjdk_build_helper_get_llvm_configure_arch(d)}"
40
41# Large stack is required at least on x86_64 host, otherwise random segfaults appear:
42QEMU = "${@qemu_target_binary(d)} ${QEMU_OPTIONS} -s 2097152"
43
44EXTRA_OEMAKE += 'QEMU="${QEMU}"'