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 /README | |
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 'README')
-rw-r--r-- | README | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -52,15 +52,10 @@ Main layer maintainers: | |||
52 | Usage instructions | 52 | Usage instructions |
53 | ------------------ | 53 | ------------------ |
54 | 54 | ||
55 | You should define at least the following variables in a distro include file or local.conf | 55 | Since there is a clear bootstrap of the individual java-recipes, there is |
56 | nothing to configure in conf/local.conf nor your individual distro/$name.conf. | ||
56 | 57 | ||
57 | PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native" | 58 | Simply rely on openjdk-7-jre, openjdk-7, openjdk-8 or openjre-8. |
58 | |||
59 | PREFERRED_PROVIDER_virtual/java-native = "jamvm-native" | ||
60 | PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native" | ||
61 | |||
62 | #Sometimes the following is needed: | ||
63 | PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre" | ||
64 | 59 | ||
65 | For conf/bblayers.conf you have to add | 60 | For conf/bblayers.conf you have to add |
66 | 61 | ||
@@ -70,7 +65,7 @@ BBLAYERS ?= " \ | |||
70 | path_to_source/sources/meta-java \ | 65 | path_to_source/sources/meta-java \ |
71 | " | 66 | " |
72 | 67 | ||
73 | Please note that libstdc++ static is needed on your host to compile icedtea6/7-native | 68 | Please note that libstdc++ static is needed on your host to compile icedtea7-native |
74 | (install libstdc++-static on a Fedora). | 69 | (install libstdc++-static on a Fedora). |
75 | 70 | ||
76 | For debian-based distributions you need the libstdc++6-$compilerversion-dev package. | 71 | For debian-based distributions you need the libstdc++6-$compilerversion-dev package. |