93f6baf135
The mono source code includes <dlfcn.h>, which is only available when shared library support is available. While it might be possible to do a fully static installation of Mono, it probably isn't very useful. While we're at it, this commit also makes sure that the Config.in comment is not visible when the architecture doesn't support Mono. Fixes: http://autobuild.buildroot.net/results/5d99bdf77f1942fa403081267c362aa1f8fd0dab/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
707 B
Plaintext
21 lines
707 B
Plaintext
config BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
bool
|
|
default y if (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \
|
|
BR2_mipsel || BR2_powerpc || BR2_sparc || BR2_x86_64)
|
|
|
|
config BR2_PACKAGE_MONO
|
|
bool "mono"
|
|
depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
help
|
|
An open source, cross-platform, implementation of C#
|
|
and the CLR that is binary compatible with Microsoft.NET.
|
|
|
|
http://download.mono-project.com/sources/mono/
|
|
|
|
comment "mono needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|