summaryrefslogtreecommitdiffstats
path: root/package/erlang/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/erlang/Config.in')
-rw-r--r--package/erlang/Config.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/package/erlang/Config.in b/package/erlang/Config.in
index 5fa20288c2..56cee5411b 100644
--- a/package/erlang/Config.in
+++ b/package/erlang/Config.in
@@ -1,14 +1,20 @@
+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 || \
+ BR2_sparc_v9 || BR2_arm || BR2_aarch64
+
comment "erlang needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU # fork()
- depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
+ depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_ERLANG
bool "erlang"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
- depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
- select BR2_PACKAGE_LIBATOMIC_OPS
+ depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
help
Erlang is a programming language used to build massively scalable
soft real-time systems with requirements on high availability.
OpenPOWER on IntegriCloud