Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/4] package/liburcu: introduce BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS symbol
@ 2015-12-13 18:47 Samuel Martin
  2015-12-13 18:47 ` [Buildroot] [PATCH v2 2/4] package/lttng-libust: use BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS dependency Samuel Martin
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Samuel Martin @ 2015-12-13 18:47 UTC (permalink / raw)
  To: buildroot

This new hidden symbol will allow simplifying the architecture dependencies
on package that depends on liburcu. These packages will be updated in follow-up
patches.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>

---
changes v1->v2:
- new patch
---
 package/liburcu/Config.in | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in
index a4e8dc8..36d5353 100644
--- a/package/liburcu/Config.in
+++ b/package/liburcu/Config.in
@@ -1,6 +1,11 @@
+config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
+	bool
+	depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
+	default y
+
 config BR2_PACKAGE_LIBURCU
 	bool "liburcu"
-	depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
+	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
@@ -18,7 +23,7 @@ config BR2_PACKAGE_LIBURCU
 	  http://lttng.org/urcu
 
 comment "liburcu needs a toolchain w/ threads"
-	depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
+	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
-- 
2.6.4

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

end of thread, other threads:[~2015-12-13 21:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-13 18:47 [Buildroot] [PATCH v2 1/4] package/liburcu: introduce BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS symbol Samuel Martin
2015-12-13 18:47 ` [Buildroot] [PATCH v2 2/4] package/lttng-libust: use BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS dependency Samuel Martin
2015-12-13 20:09   ` Yann E. MORIN
2015-12-13 18:47 ` [Buildroot] [PATCH v2 3/4] package/lttng-tools: " Samuel Martin
2015-12-13 20:15   ` Yann E. MORIN
2015-12-13 18:47 ` [Buildroot] [PATCH v2 4/4] package/netsniff: fix missing depend on statements Samuel Martin
2015-12-13 20:16   ` Yann E. MORIN
2015-12-13 20:05 ` [Buildroot] [PATCH v2 1/4] package/liburcu: introduce BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS symbol Yann E. MORIN
2015-12-13 21:37 ` Thomas Petazzoni

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