Commit Graph

13 Commits

Author SHA1 Message Date
Thomas Petazzoni
39b5a72ee5 classpath: only allow on supported architectures
In commit a75ab1fc1d ("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 f12a146f81, 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-28 10:00:30 +01:00
Peter Korsgaard
cba44b1094 jamvm: needs dynamic library support
Fixes:
http://autobuild.buildroot.net/results/931/931a005fab39f22bda0fd8c249f3e4d1f5eba4cc/
http://autobuild.buildroot.net/results/fa3/fa34334acd8d682e76444d9208463f364de96291/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-16 09:18:26 +01:00
Gustavo Zacarias
79ce08bbdc packages: remove non-IPv6 dependencies and tweaks
Now that IPv6 is mandatory remove package dependencies and conditionals
for it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-22 23:06:35 +02:00
Matt Weber
6be1abb14a jamvm: add depends on toolchain w/threads
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-01 23:41:02 +02:00
Thomas De Schampheleire
425a668dfd jamvm: bump to 2.0.0 (including mips big-endian support)
This commit bumps jamvm to version 2.0.0. From the release notes:

    I'm pleased to announce a new release of JamVM.  JamVM 2.0.0 is the
    first release of JamVM with support for OpenJDK (in addition to GNU
    Classpath). Although IcedTea already includes JamVM with OpenJDK
    support, this has been based on periodic snapshots of the development
    tree.

    JamVM 2.0.0 supports OpenJDK 6, 7 and 8 (the latest). With OpenJDK 7 and
    8 this includes full support for JSR 292 (invokedynamic). JamVM 2.0.0
    with OpenJDK 8 also includes full support for Lambda expressions (JSR
    335), type annotations (JSR 308) and method parameter reflection.

    In addition to OpenJDK support, JamVM 2.0.0 also includes many
    bug-fixes, performance improvements and improved compatibility (from
    running the OpenJDK jtreg tests).

As this release now also supports MIPS big-endian targets, this commit
fixes bug #7010 (https://bugs.busybox.net/show_bug.cgi?id=7010)

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-27 09:42:42 +02:00
Thomas De Schampheleire
be084204eb Config.in files: add missing dependencies to toolchain option comments
When a package A depends on config option B and toolchain option C, then
the comment that is given when C is not fulfilled should also depend on B.
For example:

config BR2_PACKAGE_A
	depends on BR2_B
	depends on BR2_LARGEFILE
	depends on BR2_WCHAR

comment "A needs a toolchain w/ largefile, wchar"
	depends on !BR2_LARGEFILE || !BR2_WCHAR

This comment should actually be:

comment "A needs a toolchain w/ largefile, wchar"
	depends on BR2_B
	depends on !BR2_LARGEFILE || !BR2_WCHAR

or if possible (typically when B is a package config option declared in that
same Config.in file):

if BR2_B

comment "A needs a toolchain w/ largefile, wchar"
	depends on !BR2_LARGEFILE || !BR2_WCHAR

[other config options depending on B]

endif

Otherwise, the comment would be visible even though the other dependencies
are not met.

This patch adds such missing dependencies, and changes existing such
dependencies from
  depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC
to
  depends on BR2_BASE_DEP
  depends on !BR2_TOOLCHAIN_USES_GLIBC
so that (positive) base dependencies are separate from the (negative)
toolchain dependencies. This strategy makes it easier to write such comments
(because one can simply copy the base dependency from the actual package
config option), but also avoids complex and long boolean expressions.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 (untested)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-10 23:59:57 +01:00
Thomas De Schampheleire
66bb10b7b0 Config.in files: unify comments of toolchain option dependencies
This patch lines up the comments in Config.in files that clarify which
toolchain options the package depends on.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-14 22:45:57 +02:00
Markos Chandras
2c3b24797a jamvm: Not available for all architectures
jamvm supports arm, armeb, powerpc, i386, x86_64 and mipsel.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28 14:13:28 +02:00
Peter Korsgaard
5a5eeae999 jamvm: classpath needs ipv6, so jamvm as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-04 16:00:09 -08:00
Peter Korsgaard
ae10e33a50 package: add jamvm jvm
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-04 10:21:45 -08:00
Peter Korsgaard
77d133d27e package: move java packages to package/java sub directory 2008-03-28 10:40:45 +00:00
John Voltz
7a15d38e01 shortened help line lengths 2008-03-07 14:12:14 +00:00
John Voltz
808dd83025 added jamvm 2008-03-06 18:13:45 +00:00