Config.in 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. config BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_HOSTARCH = "aarch64"
  4. default y if BR2_HOSTARCH = "x86_64"
  5. default y if BR2_HOSTARCH = "x86"
  6. config 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. comment "erlang needs a glibc or musl toolchain w/ dynamic library, threads, wchar"
  17. depends on BR2_USE_MMU # fork()
  18. depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
  19. depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
  20. || !BR2_USE_WCHAR || BR2_TOOLCHAIN_USES_UCLIBC
  21. config BR2_PACKAGE_ERLANG
  22. bool "erlang"
  23. depends on BR2_USE_MMU # fork()
  24. depends on BR2_USE_WCHAR
  25. depends on !BR2_STATIC_LIBS
  26. depends on BR2_TOOLCHAIN_HAS_THREADS
  27. depends on !BR2_TOOLCHAIN_USES_UCLIBC
  28. depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
  29. select BR2_PACKAGE_ZLIB
  30. help
  31. Erlang is a programming language used to build massively
  32. scalable soft real-time systems with requirements on high
  33. availability. Some of its uses are in telecoms, banking,
  34. e-commerce, computer telephony and instant messaging.
  35. Erlang's runtime system has built-in support for
  36. concurrency, distribution and fault tolerance.
  37. http://www.erlang.org
  38. if BR2_PACKAGE_ERLANG
  39. config BR2_PACKAGE_ERLANG_MEGACO
  40. bool "install megaco application"
  41. help
  42. The Megaco application is a framework for building
  43. applications on top of the Megaco/H.248 protocol. It is
  44. approximately 14MB in size so if you do not need it then
  45. it is recommended not to enable it.
  46. endif # BR2_PACKAGE_ERLANG