Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] arc: Fix warning if atomics are selected
@ 2014-09-10 12:46 Anton Kolesov
  2014-09-10 13:19 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Anton Kolesov @ 2014-09-10 12:46 UTC (permalink / raw)
  To: buildroot

If atomic instructions were selected for ARC, there was a warning, like:
"(BR2_ARC_ATOMIC_EXT) selects BR2_ARCH_HAS_ATOMICS which has unmet direct
dependencies". This patch removes the reason of this warning by adding a
respective configuration entry.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
---
 arch/Config.in.arc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/Config.in.arc b/arch/Config.in.arc
index 8a7f290..d2ccf09 100644
--- a/arch/Config.in.arc
+++ b/arch/Config.in.arc
@@ -1,3 +1,6 @@
+config  BR2_ARCH_HAS_ATOMICS
+	bool
+
 # Choise of atomic instructions presence
 config BR2_ARC_ATOMIC_EXT
 	bool "Atomic extension (LLOCK/SCOND instructions)"
-- 
1.8.4.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-10 13:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10 12:46 [Buildroot] [PATCH] arc: Fix warning if atomics are selected Anton Kolesov
2014-09-10 13:19 ` Thomas Petazzoni
2014-09-10 13:28   ` Anton Kolesov
2014-09-10 13:46     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox