Skip to contentSkip to conversation

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

PATCH In review Alexey Brodkin via buildroot 2 participants 2 messages Dec 30, 2021 – Jan 1, 2022

lore
Share & tools
lore
#0 lore raw

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

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

Cc Thomas Petazzoni <[email protected]>
---
 package/openjdk/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/openjdk/Config.in +3 -3
index b6eb2d7818..8b7fd4653e 100644
@@ -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.
 
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Alexey, All,

On 2021-12-31 01:57 +0300, Alexey Brodkin via buildroot spake thusly:

Quoted 7 lines

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

Cc Thomas Petazzoni <[email protected]>

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.

Quoted 38 lines
---
 package/openjdk/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/openjdk/Config.in +3 -3
index b6eb2d7818..8b7fd4653e 100644
@@ -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.
 
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot