--- /dev/null
+config BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
+ bool
+ default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_sparc || BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || BR2_x86_64
+
+config BR2_PACKAGE_LIBATOMIC_OPS
+ bool "libatomic_ops"
+ depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
+ help
+ Atomic operations library
+
+ https://github.com/ivmai/libatomic_ops