diff options
author | Jens Rehsack <rehsack@gmail.com> | 2015-12-08 14:52:51 +0100 |
---|---|---|
committer | Maxin B. John <maxin.john@intel.com> | 2015-12-08 17:43:40 +0200 |
commit | bac3b9acee5110390d15d38dacdb1622e31b2238 (patch) | |
tree | 1f39d7b8392576f19f77fb65f470391e2d15c6c1 /recipes-core/openjdk/openjdk-8-native_72b05.bb | |
parent | 04d5d0bf414c05ca59618d77f17ff9898aa1c566 (diff) | |
download | meta-java-bac3b9acee5110390d15d38dacdb1622e31b2238.tar.gz |
openjdk-8: add recipes for openjdk-8 and openjre-8
This adds openjdk-8 for native and target builds and allows a stripped
openjre-8 being built as well instead of trying to cherry-pick jre
components from jdk-image.
The recipes allow building openjdk-8 with or without:
* x11
* cups
* alsa/pulseaudio
and let packager enable unlimited-crypto, if desired.
To support certificate based java libraries, cacerts is created based on
ca-certificates from OE-core.
Since there can be only one PROVIDES for virtual/java-native and virtual/javac-native,
move the provides to openjdk-8-native (I think everyone agrees it's a better
choice than ecj-bootstrap-native).
Plus: Applying a fix from openjdk-9 repository which fixes build issues using gcc5
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-native_72b05.bb')
-rw-r--r-- | recipes-core/openjdk/openjdk-8-native_72b05.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-8-native_72b05.bb b/recipes-core/openjdk/openjdk-8-native_72b05.bb new file mode 100644 index 0000000..6eb40eb --- /dev/null +++ b/recipes-core/openjdk/openjdk-8-native_72b05.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | require openjdk-8-release-72b05.inc | ||
2 | require openjdk-8-native.inc | ||
3 | |||
4 | PROVIDES = "virtual/java-native virtual/javac-native" | ||
5 | |||
6 | inherit update-alternatives | ||
7 | |||
8 | ALTERNATIVE_${PN} = "java javac jar pack200 unpack200 keytool" | ||
9 | ALTERNATIVE_LINK[java] = "${bindir}/java" | ||
10 | ALTERNATIVE_TARGET[java] = "${JDK_HOME}/bin/java" | ||
11 | ALTERNATIVE_PRIORITY[java] = "100" | ||
12 | ALTERNATIVE_LINK[javac] = "${bindir}/javac" | ||
13 | ALTERNATIVE_TARGET[javac] = "${JDK_HOME}/bin/javac" | ||
14 | ALTERNATIVE_PRIORITY[javac] = "100" | ||
15 | ALTERNATIVE_LINK[jar] = "${bindir}/jar" | ||
16 | ALTERNATIVE_TARGET[jar] = "${JDK_HOME}/bin/jar" | ||
17 | ALTERNATIVE_PRIORITY[jar] = "100" | ||
18 | ALTERNATIVE_LINK[pack200] = "${bindir}/pack200" | ||
19 | ALTERNATIVE_TARGET[pack200] = "${JDK_HOME}/bin/pack200" | ||
20 | ALTERNATIVE_PRIORITY[pack200] = "100" | ||
21 | ALTERNATIVE_LINK[unpack200] = "${bindir}/unpack200" | ||
22 | ALTERNATIVE_TARGET[unpack200] = "${JDK_HOME}/bin/unpack200" | ||
23 | ALTERNATIVE_PRIORITY[unpack200] = "100" | ||
24 | ALTERNATIVE_LINK[keytool] = "${bindir}/keytool" | ||
25 | ALTERNATIVE_TARGET[keytool] = "${JDK_HOME}/bin/keytool" | ||
26 | ALTERNATIVE_PRIORITY[keytool] = "100" | ||
27 | |||
28 | # PR = "${INC_PR}.1" | ||