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