From bac3b9acee5110390d15d38dacdb1622e31b2238 Mon Sep 17 00:00:00 2001 From: Jens Rehsack Date: Tue, 8 Dec 2015 14:52:51 +0100 Subject: 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 Signed-off-by: Maxin B. John --- README | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'README') diff --git a/README b/README index 3b95c13..7658c23 100644 --- a/README +++ b/README @@ -52,15 +52,10 @@ Main layer maintainers: Usage instructions ------------------ -You should define at least the following variables in a distro include file or local.conf +Since there is a clear bootstrap of the individual java-recipes, there is +nothing to configure in conf/local.conf nor your individual distro/$name.conf. -PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native" - -PREFERRED_PROVIDER_virtual/java-native = "jamvm-native" -PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native" - -#Sometimes the following is needed: -PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre" +Simply rely on openjdk-7-jre, openjdk-7, openjdk-8 or openjre-8. For conf/bblayers.conf you have to add @@ -70,7 +65,7 @@ BBLAYERS ?= " \ path_to_source/sources/meta-java \ " -Please note that libstdc++ static is needed on your host to compile icedtea6/7-native +Please note that libstdc++ static is needed on your host to compile icedtea7-native (install libstdc++-static on a Fedora). For debian-based distributions you need the libstdc++6-$compilerversion-dev package. -- cgit v1.2.3-54-g00ecf