2018-05-13 12:34:37 +02:00
|
|
|
config BR2_PACKAGE_JAMVM_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y if BR2_arm || BR2_armeb
|
|
|
|
default y if BR2_i386 || BR2_x86_64
|
2018-05-13 12:34:38 +02:00
|
|
|
default y if (BR2_mips || BR2_mipsel) \
|
|
|
|
&& (BR2_MIPS_FP32_MODE_32 || BR2_MIPS_SOFT_FLOAT)
|
2018-05-13 12:34:37 +02:00
|
|
|
default y if BR2_powerpc
|
|
|
|
|
2012-12-04 19:02:25 +01:00
|
|
|
config BR2_PACKAGE_JAMVM
|
|
|
|
bool "jamvm"
|
2018-05-13 12:34:37 +02:00
|
|
|
depends on BR2_PACKAGE_JAMVM_ARCH_SUPPORTS
|
|
|
|
depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
|
2015-03-26 16:54:40 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2016-03-16 09:18:26 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2012-12-04 19:02:25 +01:00
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
select BR2_PACKAGE_CLASSPATH
|
|
|
|
help
|
|
|
|
JamVM is a new Java Virtual Machine which conforms to the
|
|
|
|
JVM specification version 2 (blue book).
|
|
|
|
|
|
|
|
http://jamvm.sf.net
|
2012-12-05 01:00:09 +01:00
|
|
|
|
2016-03-16 09:18:26 +01:00
|
|
|
comment "jamvm needs a toolchain w/ threads, dynamic library"
|
2018-05-13 12:34:37 +02:00
|
|
|
depends on BR2_PACKAGE_JAMVM_ARCH_SUPPORTS
|
classpath: only allow on supported architectures
In commit a75ab1fc1dcc7eee8668b1c3c19b703f1390b2cd ("package/classpath:
Don't depend on jamvm"), we removed the dependency of classpath on
jamvm. Since jamvm is only available for a reduced set of architectures,
classpath could until this commit until be built on those architectures.
However, now that this dependency has been removed, classpath can
potentially be built for all architectures supported by Buildroot, even
though it doesn't support all of them.
Since adding support for additional architectures in classpath doesn't
make much sense, because classpath is in Buildroot only usable with
JamVM anyway, and JamVM is only available for a small set of
architectures, this commit simply makes classpath available on the
architectures that it supports.
By doing so, it also removes the or1k support patch which was added by
commit f12a146f817c8ef07a7d41a31a5336b5ef6a96e8, since anyway or1k is
not supported by JamVM.
Fixes:
http://autobuild.buildroot.net/results/55eb89f89e96b94a821778bc18ed844af08b7460/
(classpath on microblaze)
http://autobuild.buildroot.net/results/279dd731bd9ecf5f9d54bda3715caeaa7cbcdbb3/
(classpath on nios2)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-02-27 23:16:11 +01:00
|
|
|
depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
|
2016-03-16 09:18:26 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|