package/openjdk: remove mips support
PATCH 1/1 package/openjdk: remove mips support
From: Adam Duskett <[email protected]>
The mips-port project has been abandoned for some time.
https://mail.openjdk.java.net/pipermail/mips-port/2018-August/000082.html
Fixes:
http://autobuild.buildroot.net/results/1059026c9b5f503684fe1589cd43d25a8484290b/build-end.log
--- package/openjdk/Config.in | 1 - 1 file changed, 1 deletion(-)
package/openjdk/Config.in +0 -1
@@ -9,7 +9,6 @@ config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS default y if BR2_arm default y if BR2_i386 || BR2_x86_64 default y if BR2_m68k - default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le default y if BR2_sh default y if BR2_sparc || BR2_sparc64
Signature · 1 line
2.20.1
PATCH 2/2 package/openjdk: only support a single variant at a time
From: Adam Duskett <[email protected]>
Selecting multiple variants doesn't seem to be that important in the context of Buildroot. This patch removes the ability to select multiple variants in favor of just selecting one.
The default is server as that is what all of the major distributions currently use as the default as well.
Fixes:
http://autobuild.buildroot.net/results/a45cfa9b3602fd05f6adbf070a1bad6510975c36/build-end.log
--- package/openjdk/Config.in | 16 +++++++++------- package/openjdk/openjdk.mk | 9 ++++----- 2 files changed, 13 insertions(+), 12 deletions(-)
package/openjdk/Config.in +9 -7
@@ -41,10 +41,6 @@ config BR2_PACKAGE_OPENJDK select BR2_PACKAGE_XLIB_LIBXT select BR2_PACKAGE_XLIB_LIBXTST select BR2_PACKAGE_ZLIB - # make sure at least one variant is enabled - select BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER \ - if !BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT && !BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO && !BR2_powerpc - select BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_powerpc help OpenJDK is a free and open-source implementation of the Java Platform.
@@ -53,20 +49,25 @@ config BR2_PACKAGE_OPENJDK if BR2_PACKAGE_OPENJDK +choice + prompt "openjdk variant" + default BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER if !BR2_powerpc + default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_powerpc + config BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT - bool "build client variant" + bool "client" depends on !BR2_powerpc help Quick loading, but slower run-time performance. config BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER - bool "build server variant" + bool "server" depends on !BR2_powerpc help Slower loading, but faster run-time performance. config BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO - bool "build zero variant" + bool "zero" select BR2_PACKAGE_LIBFFI help A non-assembler variant with wide arch support, however
@@ -74,6 +75,7 @@ config BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO http://openjdk.java.net/projects/zero +endchoice endif comment "openjdk needs X.Org"
package/openjdk/openjdk.mk +4 -5
@@ -34,16 +34,15 @@ OPENJDK_DEPENDENCIES = \ # JVM variants ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT),y) -OPENJDK_JVM_VARIANTS += client +OPENJDK_JVM_VARIANT = client endif ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER),y) -OPENJDK_JVM_VARIANTS += server +OPENJDK_JVM_VARIANT = server endif ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO),y) -OPENJDK_JVM_VARIANTS += zero +OPENJDK_JVM_VARIANT = zero OPENJDK_DEPENDENCIES += libffi endif -OPENJDK_JVM_VARIANT_LIST = $(subst $(space),$(comma),$(OPENJDK_JVM_VARIANTS)) # OpenJDK ignores some variables unless passed via the environment. # These variables are PATH, LD, CC, CXX, and CPP.
@@ -75,7 +74,7 @@ OPENJDK_CONF_OPTS = \ --with-extra-cxxflags="$(TARGET_CXXFLAGS)" \ --with-giflib=system \ --with-jobs=$(PARALLEL_JOBS) \ - --with-jvm-variants=$(OPENJDK_JVM_VARIANT_LIST) \ + --with-jvm-variants=$(OPENJDK_JVM_VARIANT) \ --with-lcms=system \ --with-libjpeg=system \ --with-libpng=system \
Signature · 1 line
2.20.1
PATCH 2/2 package/openjdk: only support a single variant at a time
Quoted 11 lines · On Mon, 15 Apr 2019 17:14:28 -0400 aduskett at gmail.com wrote:
From: Adam Duskett <[email protected]>
Selecting multiple variants doesn't seem to be that important in the context of Buildroot. This patch removes the ability to select multiple variants in favor of just selecting one.
The default is server as that is what all of the major distributions currently use as the default as well.
Fixes:
http://autobuild.buildroot.net/results/a45cfa9b3602fd05f6adbf070a1bad6510975c36/build-end.log
Ideally this commit log should have explained that enabling the zero variant cannot be done together with enabling the client or server variant, but expressing that with Config.in dependencies was deemed too complicated.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/openjdk: remove mips support
In reply to aduskett at gmail.comHello,
Quoted 7 lines · On Mon, 15 Apr 2019 17:14:27 -0400 aduskett at gmail.com wrote:
From: Adam Duskett <[email protected]>
The mips-port project has been abandoned for some time.
https://mail.openjdk.java.net/pipermail/mips-port/2018-August/000082.htmlFixes:
http://autobuild.buildroot.net/results/1059026c9b5f503684fe1589cd43d25a8484290b/build-end.log
We typically use just
http://autobuild.buildroot.net/results/1059026c9b5f503684fe1589cd43d25a8484290b/,
not the URL to the build log specifically.
Also, an empty line before the SoB line was missing.
I fixed both nits and applied to master. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com