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 --- .../patches-openjdk-8/dont-expect-fqpn-for-make.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch (limited to 'recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch') diff --git a/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch b/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch new file mode 100644 index 0000000..a8a9c1d --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch @@ -0,0 +1,18 @@ +--- common/autoconf/basics.m4.orig 2015-08-17 19:05:13.122672019 +0200 ++++ common/autoconf/basics.m4 2015-08-17 19:13:01.482673782 +0200 +@@ -549,10 +549,12 @@ + # We need to find a recent version of GNU make. Especially on Solaris, this can be tricky. + if test "x$MAKE" != x; then + # User has supplied a make, test it. +- if test ! -f "$MAKE"; then +- AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.]) ++ if test -a `dirname "$MAKE"` = "." -a ! -f "$MAKE"; then ++ AC_PATH_PROGS(CHECK_MAKE, $MAKE) ++ else ++ CHECK_MAKE="${MAKE}" + fi +- BASIC_CHECK_MAKE_VERSION("$MAKE", [user supplied MAKE=$MAKE]) ++ BASIC_CHECK_MAKE_VERSION("$CHECK_MAKE", [user supplied MAKE=$MAKE]) + if test "x$FOUND_MAKE" = x; then + AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer.]) + fi -- cgit v1.2.3-54-g00ecf