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

Commit a5d2c379eb (package/openjdk: add ARC HS3x/4x support via "Zero
Assembly Project") forgot to limit the scope of the ARC support.

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.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Alexey Brodkin 2021-12-31 01:57:19 +03:00 committed by Yann E. MORIN
parent 6990000654
commit ef7ace1017

View file

@ -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.