2018-02-26 17:58:38 +01:00
|
|
|
config BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y if BR2_HOSTARCH = "x86_64"
|
|
|
|
default y if BR2_HOSTARCH = "x86"
|
|
|
|
|
2016-03-10 01:22:05 +01:00
|
|
|
config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
# see HOWTO/INSTALL.md for Erlang's supported platforms
|
|
|
|
# when using its native atomic ops implementation
|
|
|
|
default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || \
|
2016-06-21 18:46:53 +02:00
|
|
|
BR2_sparc_v9 || BR2_arm || BR2_aarch64 || BR2_mipsel
|
2018-02-26 17:58:38 +01:00
|
|
|
# erlang needs host-erlang
|
|
|
|
depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
|
2016-03-10 01:22:05 +01:00
|
|
|
|
2018-07-21 11:13:38 +02:00
|
|
|
comment "erlang needs a toolchain w/ dynamic library, threads"
|
2015-01-04 21:28:21 +01:00
|
|
|
depends on BR2_USE_MMU # fork()
|
2016-03-10 01:22:05 +01:00
|
|
|
depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
|
2018-07-21 11:13:38 +02:00
|
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
2014-09-11 23:36:03 +02:00
|
|
|
|
2012-08-24 23:39:26 +02:00
|
|
|
config BR2_PACKAGE_ERLANG
|
|
|
|
bool "erlang"
|
2013-05-06 07:28:19 +02:00
|
|
|
depends on BR2_USE_MMU # fork()
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2018-07-21 11:13:38 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2016-03-10 01:22:05 +01:00
|
|
|
depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
|
2018-10-12 16:11:49 +02:00
|
|
|
select BR2_PACKAGE_ZLIB
|
2012-08-24 23:39:26 +02:00
|
|
|
help
|
2017-05-29 17:39:01 +02:00
|
|
|
Erlang is a programming language used to build massively
|
|
|
|
scalable soft real-time systems with requirements on high
|
|
|
|
availability. Some of its uses are in telecoms, banking,
|
|
|
|
e-commerce, computer telephony and instant messaging.
|
|
|
|
Erlang's runtime system has built-in support for
|
|
|
|
concurrency, distribution and fault tolerance.
|
2012-08-24 23:39:26 +02:00
|
|
|
|
2013-07-12 10:26:11 +02:00
|
|
|
http://www.erlang.org
|
|
|
|
|
2013-12-13 15:56:11 +01:00
|
|
|
if BR2_PACKAGE_ERLANG
|
|
|
|
|
2012-08-24 23:39:26 +02:00
|
|
|
config BR2_PACKAGE_ERLANG_MEGACO
|
|
|
|
bool "install megaco application"
|
|
|
|
help
|
2017-05-29 17:39:01 +02:00
|
|
|
The Megaco application is a framework for building
|
|
|
|
applications on top of the Megaco/H.248 protocol. It is
|
|
|
|
approximately 14MB in size so if you do not need it then
|
|
|
|
it is recommended not to enable it.
|
2013-12-13 15:56:11 +01:00
|
|
|
|
|
|
|
endif # BR2_PACKAGE_ERLANG
|