summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libatomic_ops/Config.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libatomic_ops/Config.in b/package/libatomic_ops/Config.in
index 0d05eea000..f0a55a49dc 100644
--- a/package/libatomic_ops/Config.in
+++ b/package/libatomic_ops/Config.in
@@ -1,5 +1,9 @@
+config BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
+ bool
+ default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_sparc || BR2_powerpc || BR2_x86_64
+
config BR2_PACKAGE_LIBATOMIC_OPS
bool "libatomic_ops"
- depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_sparc || BR2_powerpc || BR2_x86_64
+ depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
help
Atomic operations library
OpenPOWER on IntegriCloud