2015-11-13 11:26:40 +01:00
|
|
|
# Architecture dependency from the bundled bdwgc.
|
|
|
|
config BR2_PACKAGE_GAUCHE_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 || \
|
gauche: disable on SPARC(64), remove atomics dependency
gauche does not build on sparc64, it fails with:
No rule to make target 'sparc_mach_dep.lo', needed by 'libgc.la'
On Sparc, it first fails with the usual "membar" assembler issue which
comes from gauche's internal version of libatomic_ops. However, even
passing -DAO_NO_SPARC_V9 like we do for libatomic_ops is not
sufficient, as we fall into the same build problem as on sparc64.
Consequently, this commit disables the gauche package on the sparc and
sparc64 architectures.
Since it uses its own libatomic_ops copy, and libatomic_ops does not
have any dependency on atomic built-ins, we also remove the
BR2_ARCH_HAS_ATOMICS dependency. It was originally added to prevent
gauche from being built on sparc, but this will no longer happen.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2016-02-02 16:31:27 +01:00
|
|
|
BR2_powerpc64le || BR2_sh || BR2_sh64 || BR2_x86_64
|
2015-11-13 11:26:40 +01:00
|
|
|
|
2015-11-04 14:40:27 +01:00
|
|
|
config BR2_PACKAGE_GAUCHE
|
|
|
|
bool "gauche"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
|
|
depends on BR2_USE_MMU # fork()
|
2015-11-13 11:26:40 +01:00
|
|
|
depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
|
2015-11-18 10:30:23 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2015-11-04 14:40:27 +01:00
|
|
|
help
|
|
|
|
Gauche is an R7RS Scheme implementation developed to be a
|
|
|
|
handy script interpreter, which allows programmers and
|
|
|
|
system administrators to write small to large scripts for
|
|
|
|
their daily chores. Quick startup, built-in system
|
|
|
|
interface, native multilingual support are some of its
|
|
|
|
goals.
|
|
|
|
|
|
|
|
http://practical-scheme.net/gauche/
|
|
|
|
|
2015-11-18 10:30:23 +01:00
|
|
|
comment "gauche needs a toolchain w/ NPTL, dynamic library"
|
2015-11-04 14:40:27 +01:00
|
|
|
depends on BR2_USE_MMU
|
2015-11-13 11:26:40 +01:00
|
|
|
depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
|
2015-11-18 10:30:23 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|