diff mbox series

package/openjdk: Make sure for ARC only Zero is selectable

Message ID 20211230225719.31728-1-abrodkin@synopsys.com
State Accepted
Headers show
Series package/openjdk: Make sure for ARC only Zero is selectable | expand

Commit Message

Alexey Brodkin Dec. 30, 2021, 10:57 p.m. UTC
As of now for ARC we only have fully-interpreted mode AKA
"Project Zero" and so all the JIT'ed modes must be explicitly
disabled for ARC. Doing it now as it was not done in the initial
submission

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/openjdk/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Yann E. MORIN Jan. 1, 2022, 10:22 a.m. UTC | #1
Alexey, All,

On 2021-12-31 01:57 +0300, Alexey Brodkin via buildroot spake thusly:
> As of now for ARC we only have fully-interpreted mode AKA
> "Project Zero" and so all the JIT'ed modes must be explicitly
> disabled for ARC. Doing it now as it was not done in the initial
> submission
> 
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

I've slightly reworded the commit log to adde the actual reference to
the initial commit, and applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/openjdk/Config.in | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in
> index b6eb2d7818..8b7fd4653e 100644
> --- a/package/openjdk/Config.in
> +++ b/package/openjdk/Config.in
> @@ -126,19 +126,19 @@ config BR2_PACKAGE_OPENJDK_FULL_JDK
>  
>  choice
>  	prompt "openjdk variant"
> -	default BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER if !BR2_powerpc
> +	default BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER if !(BR2_powerpc || BR2_arc)
>  	default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_powerpc
>  	default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_arc
>  
>  config BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT
>  	bool "client"
> -	depends on !BR2_powerpc
> +	depends on !(BR2_powerpc || BR2_arc)
>  	help
>  	  Quick loading, but slower run-time performance.
>  
>  config BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER
>  	bool "server"
> -	depends on !BR2_powerpc
> +	depends on !(BR2_powerpc || BR2_arc)
>  	help
>  	  Slower loading, but faster run-time performance.
>  
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in
index b6eb2d7818..8b7fd4653e 100644
--- a/package/openjdk/Config.in
+++ b/package/openjdk/Config.in
@@ -126,19 +126,19 @@  config BR2_PACKAGE_OPENJDK_FULL_JDK
 
 choice
 	prompt "openjdk variant"
-	default BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER if !BR2_powerpc
+	default BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER if !(BR2_powerpc || BR2_arc)
 	default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_powerpc
 	default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_arc
 
 config BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT
 	bool "client"
-	depends on !BR2_powerpc
+	depends on !(BR2_powerpc || BR2_arc)
 	help
 	  Quick loading, but slower run-time performance.
 
 config BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER
 	bool "server"
-	depends on !BR2_powerpc
+	depends on !(BR2_powerpc || BR2_arc)
 	help
 	  Slower loading, but faster run-time performance.