summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJens Rehsack <rehsack@gmail.com>2015-12-08 14:52:51 +0100
committerMaxin B. John <maxin.john@intel.com>2015-12-08 17:43:40 +0200
commitbac3b9acee5110390d15d38dacdb1622e31b2238 (patch)
tree1f39d7b8392576f19f77fb65f470391e2d15c6c1 /README
parent04d5d0bf414c05ca59618d77f17ff9898aa1c566 (diff)
downloadmeta-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--README13
1 files changed, 4 insertions, 9 deletions
diff --git a/README b/README
index 3b95c13..7658c23 100644
--- a/README
+++ b/README
@@ -52,15 +52,10 @@ Main layer maintainers:
52Usage instructions 52Usage instructions
53------------------ 53------------------
54 54
55You should define at least the following variables in a distro include file or local.conf 55Since there is a clear bootstrap of the individual java-recipes, there is
56nothing to configure in conf/local.conf nor your individual distro/$name.conf.
56 57
57PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native" 58Simply rely on openjdk-7-jre, openjdk-7, openjdk-8 or openjre-8.
58
59PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
60PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
61
62#Sometimes the following is needed:
63PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
64 59
65For conf/bblayers.conf you have to add 60For 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
73Please note that libstdc++ static is needed on your host to compile icedtea6/7-native 68Please 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
76For debian-based distributions you need the libstdc++6-$compilerversion-dev package. 71For debian-based distributions you need the libstdc++6-$compilerversion-dev package.