Config.in 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_HOSTARCH = "x86_64"
  4. # Taken from make/autoconf/platform.m4
  5. config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
  6. bool
  7. default y if BR2_aarch64
  8. default y if BR2_arm
  9. default y if BR2_i386 || BR2_x86_64
  10. default y if BR2_m68k
  11. default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
  12. default y if BR2_sh
  13. config BR2_PACKAGE_OPENJDK
  14. bool "openjdk"
  15. depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
  16. depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
  17. depends on !BR2_SOFT_FLOAT
  18. depends on !BR2_STATIC_LIBS # glibc
  19. depends on BR2_INSTALL_LIBSTDCPP # cups
  20. depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, cups, libusb
  21. depends on BR2_TOOLCHAIN_USES_GLIBC
  22. depends on BR2_USE_MMU # cups
  23. depends on BR2_PACKAGE_XORG7
  24. select BR2_PACKAGE_ALSA_LIB
  25. select BR2_PACKAGE_ALSA_LIB_MIXER
  26. select BR2_PACKAGE_ALSA_LIB_PCM
  27. select BR2_PACKAGE_ALSA_LIB_RAWMIDI
  28. select BR2_PACKAGE_ALSA_LIB_SEQ
  29. select BR2_PACKAGE_CUPS
  30. select BR2_PACKAGE_FONTCONFIG
  31. select BR2_PACKAGE_GIFLIB
  32. select BR2_PACKAGE_JPEG
  33. select BR2_PACKAGE_LCMS2
  34. select BR2_PACKAGE_LIBPNG
  35. select BR2_PACKAGE_LIBUSB
  36. select BR2_PACKAGE_XLIB_LIBXRANDR
  37. select BR2_PACKAGE_XLIB_LIBXRENDER
  38. select BR2_PACKAGE_XLIB_LIBXT
  39. select BR2_PACKAGE_XLIB_LIBXTST
  40. select BR2_PACKAGE_ZLIB
  41. help
  42. OpenJDK is a free and open-source implementation of the
  43. Java Platform.
  44. http://openjdk.java.net/
  45. if BR2_PACKAGE_OPENJDK
  46. choice
  47. prompt "openjdk version"
  48. default BR2_OPENJDK_VERSION_LATEST
  49. help
  50. Select the version of OpenJDK you wish to use.
  51. config BR2_OPENJDK_VERSION_LTS
  52. bool "LTS (OpenJDK 11)"
  53. config BR2_OPENJDK_VERSION_LATEST
  54. bool "latest (OpenJDK 14)"
  55. endchoice
  56. config BR2_PACKAGE_OPENJDK_FULL_JDK
  57. bool "Build the full JDK"
  58. help
  59. Install the full JDK instead of just the run time.
  60. The full JDK includes several packages used for debugging and
  61. development. Some useful tools included with the JDK are:
  62. - javaws
  63. Command line tool for launching Java Web Start and setting
  64. various options.
  65. - jcmd:
  66. JVM Diagnostic Commands tool: Sends diagnostic command
  67. requests to a running Java Virtual Machine.
  68. - jinfo
  69. Configuration Info for Java: Prints configuration
  70. information for a given process or core file or a remote
  71. debug server.
  72. - jmap
  73. Memory Map for Java: Prints shared object memory maps or
  74. heap memory details of a given process or core file or a
  75. remote debug server.
  76. - jsadebugd
  77. Serviceability Agent Debug Daemon for Java: Attaches to a
  78. process or core file and acts as a debug server.
  79. - jstack
  80. Stack Trace for Java - Prints a stack trace of threads for
  81. a given process or core file or remote debug server.
  82. - jstat
  83. JVM Statistics Monitoring Tool: Attaches to an
  84. instrumented HotSpot Java virtual machine and collects and
  85. logs performance statistics as specified by the command
  86. line options.
  87. - jstatd
  88. JVM jstat Daemon - Launches an RMI server application that
  89. monitors for the creation and termination of instrumented
  90. HotSpot Java virtual machines and provides an interface to
  91. allow remote monitoring tools to attach to Java virtual
  92. machines running on the local system.
  93. Note:
  94. While the JDK also comes with several tools which can be used
  95. for developing java applications on a target, Buildroot does
  96. not support development on a target. Building the full JDK is
  97. supported for debugging purposes only.
  98. Selecting this option increases the file system by
  99. approximately 110M.
  100. choice
  101. prompt "openjdk variant"
  102. default BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER if !BR2_powerpc
  103. default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_powerpc
  104. config BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT
  105. bool "client"
  106. depends on !BR2_powerpc
  107. help
  108. Quick loading, but slower run-time performance.
  109. config BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER
  110. bool "server"
  111. depends on !BR2_powerpc
  112. help
  113. Slower loading, but faster run-time performance.
  114. config BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO
  115. bool "zero"
  116. select BR2_PACKAGE_LIBFFI
  117. help
  118. A non-assembler variant with wide arch support, however
  119. performance is less then client/server.
  120. http://openjdk.java.net/projects/zero
  121. endchoice
  122. endif
  123. comment "openjdk needs X.Org"
  124. depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
  125. depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
  126. depends on BR2_USE_MMU
  127. depends on !BR2_PACKAGE_XORG7
  128. comment "openjdk needs glibc, and a toolchain w/ wchar, dynamic library, threads, C++"
  129. depends on BR2_USE_MMU
  130. depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
  131. depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
  132. depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
  133. !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC
  134. comment "openjdk does not support soft float configurations"
  135. depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
  136. depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
  137. depends on BR2_USE_MMU
  138. depends on BR2_SOFT_FLOAT