5e02703c32
OpenJDK requires the following alsa-lib modules to be build: - mixer - pcm - rawmidi - seq Fixes: http://autobuild.buildroot.net/results/c35d64e659960663c935a31f4cb8ed4180728eb1 http://autobuild.buildroot.net/results/845fe32967c9879b6c1adbf0630f358be215e174 Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
98 lines
3.0 KiB
Plaintext
98 lines
3.0 KiB
Plaintext
config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_HOSTARCH = "x86_64"
|
|
|
|
# Taken from make/autoconf/platform.m4
|
|
config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_aarch64
|
|
default y if BR2_arm
|
|
default y if BR2_i386 || BR2_x86_64
|
|
default y if BR2_m68k
|
|
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
|
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
|
default y if BR2_sh
|
|
default y if BR2_sparc || BR2_sparc64
|
|
|
|
config BR2_PACKAGE_OPENJDK
|
|
bool "openjdk"
|
|
depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
|
|
depends on !BR2_SOFT_FLOAT
|
|
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_USES_GLIBC
|
|
depends on BR2_USE_MMU # cups
|
|
depends on BR2_PACKAGE_XORG7
|
|
select BR2_PACKAGE_ALSA_LIB
|
|
select BR2_PACKAGE_ALSA_LIB_MIXER
|
|
select BR2_PACKAGE_ALSA_LIB_PCM
|
|
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ
|
|
select BR2_PACKAGE_CUPS
|
|
select BR2_PACKAGE_FONTCONFIG
|
|
select BR2_PACKAGE_GIFLIB
|
|
select BR2_PACKAGE_JPEG
|
|
select BR2_PACKAGE_LCMS2
|
|
select BR2_PACKAGE_LIBPNG
|
|
select BR2_PACKAGE_LIBUSB
|
|
select BR2_PACKAGE_XLIB_LIBXRANDR
|
|
select BR2_PACKAGE_XLIB_LIBXRENDER
|
|
select BR2_PACKAGE_XLIB_LIBXT
|
|
select BR2_PACKAGE_XLIB_LIBXTST
|
|
select BR2_PACKAGE_ZLIB
|
|
# make sure at least one variant is enabled
|
|
select BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER \
|
|
if !BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT && !BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO && !BR2_powerpc
|
|
select BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_powerpc
|
|
help
|
|
OpenJDK is a free and open-source implementation of the
|
|
Java Platform.
|
|
|
|
http://openjdk.java.net/
|
|
|
|
if BR2_PACKAGE_OPENJDK
|
|
|
|
config BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT
|
|
bool "build client variant"
|
|
depends on !BR2_powerpc
|
|
help
|
|
Quick loading, but slower run-time performance.
|
|
|
|
config BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER
|
|
bool "build server variant"
|
|
depends on !BR2_powerpc
|
|
help
|
|
Slower loading, but faster run-time performance.
|
|
|
|
config BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO
|
|
bool "build zero variant"
|
|
select BR2_PACKAGE_LIBFFI
|
|
help
|
|
A non-assembler variant with wide arch support, however
|
|
performance is less then client/server.
|
|
|
|
http://openjdk.java.net/projects/zero
|
|
|
|
endif
|
|
|
|
comment "openjdk needs X.Org"
|
|
depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_PACKAGE_XORG7
|
|
|
|
comment "openjdk needs glibc, and a toolchain w/ wchar, dynamic library, threads, C++"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
|
|
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC
|
|
|
|
comment "openjdk does not support soft float configurations"
|
|
depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_SOFT_FLOAT
|