507025a933
Otherwise the compilation will fail like this: ./libmoar.so: undefined reference to `dcCallbackThunkEntry' See: https://github.com/MoarVM/MoarVM/issues/222 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
1023 B
Plaintext
27 lines
1023 B
Plaintext
config BR2_PACKAGE_MOARVM
|
|
bool "moarvm"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libuv
|
|
depends on !BR2_STATIC_LIBS # libuv
|
|
depends on BR2_USE_MMU # libuv
|
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops
|
|
# needs AO_fetch_compare_and_swap, not implemented for sparcv8/sparcv9
|
|
depends on !BR2_sparc64 && !BR2_sparc
|
|
select BR2_PACKAGE_LIBUV
|
|
select BR2_PACKAGE_LIBTOMMATH
|
|
select BR2_PACKAGE_LIBATOMIC_OPS
|
|
# dyncall does not work on MIPS; libffi needs to be used.
|
|
# See: https://github.com/MoarVM/MoarVM/issues/222
|
|
select BR2_PACKAGE_LIBFFI if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
|
help
|
|
Short for "Metamodel On A Runtime", MoarVM is a virtual machine
|
|
built especially for Rakudo Perl 6 and the NQP Compiler Toolchain.
|
|
|
|
http://moarvm.com
|
|
|
|
comment "moarvm needs a toolchain w/ threads, dynamic library"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
|
depends on !BR2_sparc64 && !BR2_sparc
|
|
|