|
@@ -22,6 +22,11 @@ ERLANG_CONF_ENV += erl_xcomp_sysroot=$(STAGING_DIR)
|
|
|
|
|
|
ERLANG_CONF_OPTS = --without-javac
|
|
ERLANG_CONF_OPTS = --without-javac
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
|
|
|
|
+ERLANG_DEPENDENCIES = libatomic_ops
|
|
|
|
+ERLANG_CONF_OPTS += --with-libatomic_ops=$(STAGING_DIR)/usr
|
|
|
|
+endif
|
|
|
|
+
|
|
# erlang uses openssl for all things crypto. Since the host tools (such as
|
|
# erlang uses openssl for all things crypto. Since the host tools (such as
|
|
# rebar) uses crypto, we need to build host-erlang with support for openssl.
|
|
# rebar) uses crypto, we need to build host-erlang with support for openssl.
|
|
HOST_ERLANG_DEPENDENCIES = host-openssl
|
|
HOST_ERLANG_DEPENDENCIES = host-openssl
|