1config BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS 2 bool 3 default y if BR2_HOSTARCH = "x86_64" 4 default y if BR2_HOSTARCH = "x86" 5 6config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS 7 bool 8 # see HOWTO/INSTALL.md for Erlang's supported platforms 9 # when using its native atomic ops implementation or gcc's 10 # __atomic_* builtins 11 default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || \ 12 BR2_sparc_v9 || BR2_arm || BR2_aarch64 || BR2_mipsel || \ 13 BR2_RISCV_64 14 # erlang needs host-erlang 15 depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS 16 17comment "erlang needs a toolchain w/ dynamic library, threads" 18 depends on BR2_USE_MMU # fork() 19 depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS 20 depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS 21 22config BR2_PACKAGE_ERLANG 23 bool "erlang" 24 depends on BR2_USE_MMU # fork() 25 depends on !BR2_STATIC_LIBS 26 depends on BR2_TOOLCHAIN_HAS_THREADS 27 depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS 28 select BR2_PACKAGE_ZLIB 29 help 30 Erlang is a programming language used to build massively 31 scalable soft real-time systems with requirements on high 32 availability. Some of its uses are in telecoms, banking, 33 e-commerce, computer telephony and instant messaging. 34 Erlang's runtime system has built-in support for 35 concurrency, distribution and fault tolerance. 36 37 http://www.erlang.org 38 39if BR2_PACKAGE_ERLANG 40 41config BR2_PACKAGE_ERLANG_MEGACO 42 bool "install megaco application" 43 help 44 The Megaco application is a framework for building 45 applications on top of the Megaco/H.248 protocol. It is 46 approximately 14MB in size so if you do not need it then 47 it is recommended not to enable it. 48 49endif # BR2_PACKAGE_ERLANG 50