xref: /OK3568_Linux_fs/buildroot/package/mono/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
2	bool
3	default y if BR2_HOSTARCH = "x86_64"
4	default y if BR2_HOSTARCH = "x86"
5
6config BR2_PACKAGE_MONO_ARCH_SUPPORTS
7	bool
8	default y if (BR2_arm || BR2_armeb || BR2_i386 || \
9		      BR2_powerpc || BR2_x86_64)
10	depends on BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
11	depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
12
13config BR2_PACKAGE_MONO
14	bool "mono"
15	depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
16	depends on BR2_INSTALL_LIBSTDCPP
17	depends on BR2_TOOLCHAIN_HAS_THREADS
18	depends on !BR2_STATIC_LIBS
19	select BR2_PACKAGE_LIBATOMIC_OPS
20	help
21	  An open source, cross-platform, implementation of C#
22	  and the CLR that is binary compatible with Microsoft.NET.
23
24	  http://download.mono-project.com/sources/mono/
25
26comment "mono needs a toolchain w/ C++, threads, dynamic library"
27	depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
28	depends on !BR2_INSTALL_LIBSTDCPP || \
29		!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
30