9214f2872a
Add aarch64 to BR2_PACKAGE_MONO_ARCH_SUPPORTS to allow building for aarch64 targets. Compiles successfully and runs on the actual target (imx8mp based board) Signed-off-by: Stefan Mayrhofer <stefan@familie-mayrhofer.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
988 B
Plaintext
30 lines
988 B
Plaintext
config BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_HOSTARCH = "x86_64"
|
|
default y if BR2_HOSTARCH = "x86"
|
|
|
|
config BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
bool
|
|
default y if (BR2_aarch64 || BR2_arm || BR2_armeb || \
|
|
BR2_i386 || BR2_powerpc || BR2_x86_64)
|
|
depends on BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
|
|
|
config BR2_PACKAGE_MONO
|
|
bool "mono"
|
|
depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_getattr_np()
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_LIBATOMIC_OPS
|
|
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/ C++, NPTL, dynamic library"
|
|
depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|