|
@@ -20,7 +20,7 @@ config BR2_PACKAGE_OPENJDK
|
|
|
depends on !BR2_STATIC_LIBS # glibc
|
|
|
depends on BR2_INSTALL_LIBSTDCPP # cups
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, cups, libusb
|
|
|
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb, C++14 for OpenJDK16
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb, C++14 for OpenJDK17
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
|
depends on BR2_USE_MMU # cups
|
|
|
depends on BR2_PACKAGE_XORG7
|
|
@@ -51,18 +51,18 @@ if BR2_PACKAGE_OPENJDK
|
|
|
|
|
|
choice
|
|
|
prompt "openjdk version"
|
|
|
- default BR2_OPENJDK_VERSION_LATEST
|
|
|
+ default BR2_PACKAGE_OPENJDK_VERSION_17
|
|
|
help
|
|
|
Select the version of OpenJDK you wish to use.
|
|
|
|
|
|
-config BR2_OPENJDK_VERSION_LTS
|
|
|
- bool "LTS (OpenJDK 11)"
|
|
|
+config BR2_PACKAGE_OPENJDK_VERSION_11
|
|
|
+ bool "OpenJDK 11"
|
|
|
|
|
|
-config BR2_OPENJDK_VERSION_LATEST
|
|
|
- bool "latest (OpenJDK 16)"
|
|
|
+config BR2_PACKAGE_OPENJDK_VERSION_17
|
|
|
+ bool "OpenJDK 17"
|
|
|
depends on BR2_HOST_GCC_AT_LEAST_4_9 # C++14
|
|
|
|
|
|
-comment "OpenJDK 16 needs a host gcc >= 4.9"
|
|
|
+comment "OpenJDK 17 needs a host gcc >= 4.9"
|
|
|
depends on !BR2_HOST_GCC_AT_LEAST_4_9 # C++14
|
|
|
|
|
|
endchoice
|