erlang: use erlang's native atomic ops
authorFrank Hunleth <fhunleth@troodon-software.com>
Thu, 10 Mar 2016 00:22:05 +0000 (19:22 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Jun 2016 13:58:38 +0000 (15:58 +0200)
commit3135c6374a8f0b5308bb0d1de90d28879cd528a1
tree1da41736a69a89ee0efd34c6b780ed91a0a6bbba
parent06321645a3383ec32ac3e518157c9b7eee20d06c
erlang: use erlang's native atomic ops

Now that we're using Erlang 18, the preferred atomic ops implementation
for Erlang is its own built-in implementation, so use it instead of
libatomic_ops. BR2_PACKAGE_ERLANG_ARCH_SUPPORTS is added now that
BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS can no longer be used for
checking whether the package can be built.

This fixes autobuilder failures on aarch64 and sparc_v8:

http://autobuild.buildroot.net/results/0cd/0cd22eb74fa29e5a85bf897762e16ab3daf33962/
http://autobuild.buildroot.net/results/688278236e6d5bcd63b7d4413303eb115a38f3a7/
http://autobuild.buildroot.net/results/7875a7425bfe1f43d46c9a1db9f96b54f7a99b19/

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/erlang/Config.in
package/erlang/erlang.mk