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 --- .../remove-shell-variables-from-autoheader.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes-core/openjdk/patches-openjdk-8/remove-shell-variables-from-autoheader.patch (limited to 'recipes-core/openjdk/patches-openjdk-8/remove-shell-variables-from-autoheader.patch') diff --git a/recipes-core/openjdk/patches-openjdk-8/remove-shell-variables-from-autoheader.patch b/recipes-core/openjdk/patches-openjdk-8/remove-shell-variables-from-autoheader.patch new file mode 100644 index 0000000..92a9831 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/remove-shell-variables-from-autoheader.patch @@ -0,0 +1,31 @@ +--- common/autoconf/basics.m4.orig 2015-08-17 18:02:01.642657746 +0200 ++++ common/autoconf/basics.m4 2015-08-17 18:14:44.046660616 +0200 +@@ -466,21 +466,21 @@ + AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT) + + # Most of the probed defines are put into config.h +- AC_CONFIG_HEADERS([$OUTPUT_ROOT/config.h:$AUTOCONF_DIR/config.h.in]) ++ AC_CONFIG_HEADERS([config.h:config.h.in]) + # The spec.gmk file contains all variables for the make system. +- AC_CONFIG_FILES([$OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in]) ++ AC_CONFIG_FILES([spec.gmk:spec.gmk.in]) + # The hotspot-spec.gmk file contains legacy variables for the hotspot make system. +- AC_CONFIG_FILES([$OUTPUT_ROOT/hotspot-spec.gmk:$AUTOCONF_DIR/hotspot-spec.gmk.in]) ++ AC_CONFIG_FILES([hotspot-spec.gmk:hotspot-spec.gmk.in]) + # The bootcycle-spec.gmk file contains support for boot cycle builds. +- AC_CONFIG_FILES([$OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in]) ++ AC_CONFIG_FILES([bootcycle-spec.gmk:bootcycle-spec.gmk.in]) + # The compare.sh is used to compare the build output to other builds. +- AC_CONFIG_FILES([$OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in]) ++ AC_CONFIG_FILES([compare.sh:compare.sh.in]) + # Spec.sh is currently used by compare-objects.sh +- AC_CONFIG_FILES([$OUTPUT_ROOT/spec.sh:$AUTOCONF_DIR/spec.sh.in]) ++ AC_CONFIG_FILES([spec.sh:spec.sh.in]) + # The generated Makefile knows where the spec.gmk is and where the source is. + # You can run make from the OUTPUT_ROOT, or from the top-level Makefile + # which will look for generated configurations +- AC_CONFIG_FILES([$OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in]) ++ AC_CONFIG_FILES([Makefile:Makefile.in]) + + # Save the arguments given to us + echo "$CONFIGURE_COMMAND_LINE" > $OUTPUT_ROOT/configure-arguments -- cgit v1.2.3-54-g00ecf