]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/erlang/Config.in
erlang: enable host-erlang for x86/x86_64 architectures only
[coffee/buildroot.git] / package / erlang / Config.in
1 config BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
2         bool
3         default y if BR2_HOSTARCH = "x86_64"
4         default y if BR2_HOSTARCH = "x86"
5
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
10         default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || \
11                 BR2_sparc_v9 || BR2_arm || BR2_aarch64 || BR2_mipsel
12         # erlang needs host-erlang
13         depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
14
15 comment "erlang needs a toolchain w/ dynamic library"
16         depends on BR2_USE_MMU # fork()
17         depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
18         depends on BR2_STATIC_LIBS
19
20 config BR2_PACKAGE_ERLANG
21         bool "erlang"
22         depends on BR2_USE_MMU # fork()
23         depends on !BR2_STATIC_LIBS
24         depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
25         help
26           Erlang is a programming language used to build massively
27           scalable soft real-time systems with requirements on high
28           availability. Some of its uses are in telecoms, banking,
29           e-commerce, computer telephony and instant messaging.
30           Erlang's runtime system has built-in support for
31           concurrency, distribution and fault tolerance.
32
33           http://www.erlang.org
34
35 if BR2_PACKAGE_ERLANG
36
37 config BR2_PACKAGE_ERLANG_MEGACO
38         bool "install megaco application"
39         help
40           The Megaco application is a framework for building
41           applications on top of the Megaco/H.248 protocol. It is
42           approximately 14MB in size so if you do not need it then
43           it is recommended not to enable it.
44
45 endif # BR2_PACKAGE_ERLANG