Skip to contentSkip to conversation

package/lttng-tools: reorder 'select' vs 'depends on'

PATCH New Samuel Martin 2 participants 3 messages Jan 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/lttng-tools: reorder 'select' vs 'depends on'

Place 'depends on' statements before 'select' ones.

---
 package/lttng-tools/Config.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
package/lttng-tools/Config.in +5 -5
index 599095d..7808ba3 100644
@@ -1,16 +1,16 @@
 config BR2_PACKAGE_LTTNG_TOOLS
 	bool "lttng-tools"
-	select BR2_PACKAGE_LIBURCU
-	select BR2_PACKAGE_LIBXML2
-	select BR2_PACKAGE_POPT
-	select BR2_PACKAGE_UTIL_LINUX
-	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
 	# liburcu only works on some architectures and requires thread support
 	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # lttng-tools/gcc-4.{7,8}.x bug
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_LIBURCU
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_POPT
+	select BR2_PACKAGE_UTIL_LINUX
+	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
 	help
 	  Userspace utilities for the LTTng 2.x tracing
 	  infrastructure.
Signature · 1 line
2.7.0
#1 lore raw

PATCH 2/2 package/lttng-tools: needs dynamic library support

Fixes:
http://autobuild.buildroot.net/results/b48bc7ad4bede4d16c079da0ae1121e6796a0e8d/
http://autobuild.buildroot.net/results/25dcb19c3dd32e50990f9b45053d71ea18746a80/
http://autobuild.buildroot.net/results/a3f93498811491d37ba13d024e33e68a8bc7ba18/

---
 package/lttng-tools/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/lttng-tools/Config.in +3 -2
index 7808ba3..b758d32 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LTTNG_TOOLS
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_STATIC_LIBS # uses dlfcn
 	select BR2_PACKAGE_LIBURCU
 	select BR2_PACKAGE_LIBXML2
 	select BR2_PACKAGE_POPT
@@ -29,9 +30,9 @@ config BR2_PACKAGE_LTTNG_TOOLS
 
 	  http://lttng.org
 
-comment "lttng-tools needs a toolchain w/ threads, wchar"
+comment "lttng-tools needs a toolchain w/ threads, wchar, dynamic library"
 	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # lttng-tools/gcc-4.{7,8}.x bug
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
 
Signature · 1 line
2.7.0
#2 lore raw

PATCH 1/2 package/lttng-tools: reorder 'select' vs 'depends on'

In reply to Samuel Martin

Dear Samuel Martin,

Quoted 6 lines · Samuel Martin

Place 'depends on' statements before 'select' ones.

---
 package/lttng-tools/Config.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Both applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com