blob: dc1e0232ca6622c07429251007d5a5ee7b578234 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
PATCHES_URI = "\
file://remove-shell-variables-from-autoheader.patch;striplevel=0 \
file://filter-aclocal-copy-too.patch;striplevel=0 \
file://dont-expect-fqpn-for-make.patch;striplevel=0 \
file://openjdk8-no-genx11-in-headless.patch;striplevel=0 \
file://openjdk8-no-unused-deps.patch;striplevel=0 \
file://openjdk8-find-compiler-fix-env-respect.patch;striplevel=0 \
file://openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch;striplevel=0 \
file://0001-jdk-comparison-between-pointer-and-integer.patch \
file://0002-hotspot-fix-compilation-with-security-flags-enabled.patch \
file://0003-jdk-Allow-using-a-system-installed-libjpeg.patch \
file://0004-jdk-Allow-using-a-system-installed-libpng.patch \
file://0005-hotspot-use-correct-include-for-poll.patch \
file://0006-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch \
file://0007-jdk-use-correct-include-for-poll.patch \
file://0008-jdk-use-correct-include-for-signal.patch \
file://0009-jdk-disable-backtrace-musl-build-fix.patch \
"
# some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch
# reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html
# by Roman Kennke (rkennke at redhat.com)
PATCHES_URI_append_class-target = "\
file://openjdk8-restrict-to-staging-dir.patch;striplevel=0 \
file://openjdk8-fix-shark-build.patch;striplevel=0 \
file://openjdk8-fix-shark-stdc++11.patch;striplevel=0 \
file://openjdk8-fix-assembler-flag-handling-in-makefile.patch;striplevel=0 \
file://openjdk8-fix-adlc-flags.patch;striplevel=0 \
file://openjdk8-add-missing-linker-flags.patch;striplevel=0 \
file://openjdk8-fix-libpng-neon-build.patch;striplevel=0 \
"
PATCHES_URI_append_libc-musl = "\
file://musl-0001-hotspot-stop-using-obsolete-isnanf.patch \
file://musl-0002-jdk-give-a-much-bigger-buffer-to-getmntent_r.patch \
file://musl-0003-jdk-fix-libjvm-load-on-musl-set-LD_LIBRARY_PATH.patch \
file://musl-0004-jdk-remove-sysctl.h-include-musl-build-fix.patch \
file://musl-0005-hotspot-disable-agent-build.patch \
file://musl-0006-hotspot-os_linux-remove-glibc-dependencies.patch \
file://musl-0007-hotspot-os_linux_x86-remove-glibc-dependencies-fpu_c.patch \
file://musl-0008-jdk-musl-build-fix-use-SIGRTMAX-rather-than-__SIGRTM.patch \
file://musl-0009-jdk-musl-has-gethostby_r.patch \
"
# Name of the directory containing the compiled output
BUILD_DIR = "openjdk.build"
BUILD_DIR_ECJ = "openjdk.build-ecj"
# Force arm mode for now
ARM_INSTRUCTION_SET_armv4t = "ARM"
# readdir_r was deprecated in glibc-2.24. Ignore the error for now
# NOTE: When updating the recipe, please check if this is still needed
CFLAGS_append = " -Wno-error=deprecated-declarations"
# Enable zero mode for arm based builds, as normal hotspot fails to build
PACKAGECONFIG_append_arm = " zero"
CORBA_CHANGESET = "f6b6ad6feb6e"
SRC_URI[corba.md5sum] = "0358300224b63f3deeba63d3de7d765c"
SRC_URI[corba.sha256sum] = "54da09fd0c76834094d9f167c03ff1ac2373f5e46fb26d24d0d018cdc59a2842"
HOTSPOT_CHANGESET = "d2e3920d2fd0"
SRC_URI[hotspot.md5sum] = "17a1da8be42ad0c7778e7090ea5003c1"
SRC_URI[hotspot.sha256sum] = "3f07ee7a49cb4258ef00a8a896b0f7f87e85f06dc31f6c0db698d8058926b365"
JAXP_CHANGESET = "e8a1a2db69dc"
SRC_URI[jaxp.md5sum] = "9b344a6cf317ca485b8790e67ccc2467"
SRC_URI[jaxp.sha256sum] = "fbd0eaed48415c2918a47e7d76ce276416bab792e1959b1d3dee2b703aa76f5a"
JAXWS_CHANGESET = "7b4329f78e52"
SRC_URI[jaxws.md5sum] = "b1da20ee79382eb5bb72077eb02addd4"
SRC_URI[jaxws.sha256sum] = "ffd31d467c6fe7fc0956e801c08168d48ba02b4dea38b7dedbafc054092ca8f0"
JDK_CHANGESET = "d201d8b87f48"
SRC_URI[jdk.md5sum] = "bced8a322e53083472b39f01e938b21a"
SRC_URI[jdk.sha256sum] = "6e057ceb02a7d8bb66233d52b23d246120b5c0d72e7a71cb6fb0ace84e8bb581"
LANGTOOLS_CHANGESET = "034738d4f1d2"
SRC_URI[langtools.md5sum] = "fbc6faea65cfc248f93f54e634d7bf50"
SRC_URI[langtools.sha256sum] = "91615ade480c706f58062e74ee112f95ab947e1c5366a29a7d9b2b6b0a2f72d3"
NASHORN_CHANGESET = "81ce60cabe97"
SRC_URI[nashorn.md5sum] = "318993c189f16894abe94db14a067618"
SRC_URI[nashorn.sha256sum] = "8df64026be98e6efad200ef8639e2f7e96a783e262b402afcb8045f46709e457"
OPENJDK_CHANGESET = "4be07cb28b21"
SRC_URI[openjdk.md5sum] = "24d30b66aaaef51af9b598c8989c1c82"
SRC_URI[openjdk.sha256sum] = "8f9ecc5fc5f9c6df671a2ef07949f86080823c89954b2b87f6727a82af679eca"
OPENJDK_HG_U = "jdk8u"
OPENJDK_HG_URL = "http://hg.openjdk.java.net/jdk8u/${OPENJDK_HG_U}"
OPENJDK_FILE = "${OPENJDK_CHANGESET}.tar.bz2"
OPENJDK_URI = "${OPENJDK_HG_URL}/archive/${OPENJDK_FILE};name=openjdk"
HOTSPOT_FILE = "${HOTSPOT_CHANGESET}.tar.bz2"
HOTSPOT_URI = "${OPENJDK_HG_URL}/hotspot/archive/${HOTSPOT_FILE};name=hotspot;unpack=false"
CORBA_FILE = "${CORBA_CHANGESET}.tar.bz2"
CORBA_URI = "${OPENJDK_HG_URL}/corba/archive/${CORBA_FILE};name=corba;unpack=false"
JAXP_FILE = "${JAXP_CHANGESET}.tar.bz2"
JAXP_URI = "${OPENJDK_HG_URL}/jaxp/archive/${JAXP_FILE};name=jaxp;unpack=false"
JAXWS_FILE = "${JAXWS_CHANGESET}.tar.bz2"
JAXWS_URI = "${OPENJDK_HG_URL}/jaxws/archive/${JAXWS_FILE};name=jaxws;unpack=false"
JDK_FILE = "${JDK_CHANGESET}.tar.bz2"
JDK_URI = "${OPENJDK_HG_URL}/jdk/archive/${JDK_FILE};name=jdk;unpack=false"
LANGTOOLS_FILE = "${LANGTOOLS_CHANGESET}.tar.bz2"
LANGTOOLS_URI = "${OPENJDK_HG_URL}/langtools/archive/${LANGTOOLS_FILE};name=langtools;unpack=false"
NASHORN_FILE = "${NASHORN_CHANGESET}.tar.bz2"
NASHORN_URI = "${OPENJDK_HG_URL}/nashorn/archive/${NASHORN_FILE};name=nashorn;unpack=false"
#
#CACAO_VERSION = "e215e36be9fc"
#CACAO_FILE = "${CACAO_VERSION}.tar.gz"
#CACAO_URI = "http://icedtea.wildebeest.org/download/drops/cacao/${CACAO_FILE};name=cacao;unpack=false"
#SRC_URI[cacao.md5sum] = "79f95f0aea4ba04cf2f1a8632ac66d14"
#SRC_URI[cacao.sha256sum] = "4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab"
#
#JAMVM_VERSION = "ec18fb9e49e62dce16c5094ef1527eed619463aa"
#JAMVM_FILE = "jamvm-${JAMVM_VERSION}.tar.gz"
#JAMVM_URI = "http://icedtea.wildebeest.org/download/drops/jamvm/${JAMVM_FILE};name=jamvm;unpack=false"
#SRC_URI[jamvm.md5sum] = "d50ae193d01a9251e10679c7a2cc6ff1"
#SRC_URI[jamvm.sha256sum] = "31810266666c23822942aac62a78019c2c4589e1c5ee48329cbf42652d4437bc"
|