diff options
4 files changed, 25 insertions, 10 deletions
diff --git a/recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-rmi-crosscompile.patch b/recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-rmi-crosscompile.patch new file mode 100644 index 0000000..acd3e1e --- /dev/null +++ b/recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-rmi-crosscompile.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | diff --git openjdk/jdk/make/com/sun/jmx/Makefile openjdk/jdk/make/com/sun/jmx/Makefile | ||
| 2 | index bdc1f8f..76f0c00 100644 | ||
| 3 | --- openjdk/jdk/make/com/sun/jmx/Makefile | ||
| 4 | +++ openjdk/jdk/make/com/sun/jmx/Makefile | ||
| 5 | @@ -102,7 +102,7 @@ FILES_ties = $(subst javax/management/remote/rmi/,javax/management/remote/rmi/ | ||
| 6 | # when available, we need to run with latest rmic version available. rmic | ||
| 7 | # launch tool not built at this stage but we can invoke via rmi class. | ||
| 8 | |||
| 9 | -RMIC_JAVA = $(OUTPUTDIR)/bin/java | ||
| 10 | +RMIC_JAVA = $(BOOTDIR)/bin/java | ||
| 11 | # need to treat 64bit solaris differently | ||
| 12 | ifeq ($(PLATFORM)-$(LIBARCH), solaris-amd64) | ||
| 13 | RMIC_JAVA = $(OUTPUTDIR)/bin/amd64/java | ||
diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc index a9adbc8..d965736 100644 --- a/recipes-core/openjdk/openjdk-6-common.inc +++ b/recipes-core/openjdk/openjdk-6-common.inc | |||
| @@ -4,8 +4,8 @@ LICENSE = "GPL-2.0-with-classpath-exception" | |||
| 4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
| 5 | SECTION = "libs" | 5 | SECTION = "libs" |
| 6 | 6 | ||
| 7 | # Name of the icedtea tarball and top-level directory. | 7 | ICEDTEA_VERSION = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1].split("-")[1] or '1.0'}" |
| 8 | ICEDTEA = "NEEDS TO BE SET" | 8 | ICEDTEA = "icedtea6-${ICEDTEA_VERSION}" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/${ICEDTEA}" | 10 | S = "${WORKDIR}/${ICEDTEA}" |
| 11 | B = "${S}/build" | 11 | B = "${S}/build" |
diff --git a/recipes-core/openjdk/openjdk-6_6b24-1.11.1.bb b/recipes-core/openjdk/openjdk-6_6b24-1.11.1.bb deleted file mode 100644 index 00027e6..0000000 --- a/recipes-core/openjdk/openjdk-6_6b24-1.11.1.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | require openjdk-6-release-6b24.inc | ||
| 2 | |||
| 3 | PR = "${INC_PR}.0" | ||
| 4 | |||
| 5 | ICEDTEA = "icedtea6-1.11.1" | ||
| 6 | |||
| 7 | SRC_URI[iced.md5sum] = "e51d9d2f0328cc5aa7a00943abd96ed6" | ||
| 8 | SRC_URI[iced.sha256sum] = "bafb0e21e1edf5ee22871b13dbc0a8a0d3efd894551fb91d5f59783069b6912c" | ||
diff --git a/recipes-core/openjdk/openjdk-6_6b24-1.11.3.bb b/recipes-core/openjdk/openjdk-6_6b24-1.11.3.bb new file mode 100644 index 0000000..4485180 --- /dev/null +++ b/recipes-core/openjdk/openjdk-6_6b24-1.11.3.bb | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | require openjdk-6-release-6b24.inc | ||
| 2 | |||
| 3 | PR = "${INC_PR}.0" | ||
| 4 | |||
| 5 | SRC_URI[iced.md5sum] = "52e0db92541296bdf43a4cfce135ac4f" | ||
| 6 | SRC_URI[iced.sha256sum] = "7d91c407b9795bd6f6255bcf0fb808416b36418c57f601dc47cfabff83194cf4" | ||
| 7 | |||
| 8 | ICEDTEAPATCHES += "file://icedtea-jdk-rmi-crosscompile.patch;apply=no" | ||
| 9 | |||
| 10 | DISTRIBUTION_PATCHES += "patches/icedtea-jdk-rmi-crosscompile.patch" | ||
