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
|
|
|
config BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_m68k \
|
|
|
|
|| BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el \
|
|
|
|
|| BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le \
|
2017-02-28 21:13:02 +01:00
|
|
|
|| BR2_sparc || BR2_sparc64 || BR2_sh || BR2_x86_64
|
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
|
|
|
|
2012-12-04 18:59:09 +01:00
|
|
|
config BR2_PACKAGE_CLASSPATH
|
|
|
|
bool "classpath"
|
2017-04-22 19:17:50 +02:00
|
|
|
depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
|
2014-05-04 00:45:44 +02:00
|
|
|
select BR2_NEEDS_HOST_JAR
|
|
|
|
select BR2_NEEDS_HOST_JAVAC
|
2012-12-04 18:59:09 +01:00
|
|
|
help
|
|
|
|
GNU Classpath, Essential Libraries for Java, is a GNU
|
|
|
|
project to create free core class libraries for use with
|
|
|
|
virtual machines and compilers for the java programming
|
|
|
|
language.
|
|
|
|
|
|
|
|
http://classpath.org
|