Skip to contentSkip to conversation

rt-tests: unavailable for static builds

PATCH New Gustavo Zacarias 2 participants 2 messages Jan 22, 2016 – Feb 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rt-tests: unavailable for static builds

Fixes:
http://autobuild.buildroot.net/results/a6f/a6f6502e55fd68803f3ff8b4b76cce6601e101db/

---
 package/rt-tests/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/rt-tests/Config.in +3 -2
index db5e0a0..4c57c0f 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_RT_TESTS
 	bool "rt-tests"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_STATIC_LIBS # dlopen
 	help
 	  Set of utilities for testing the real-time behaviour of a
 	  Linux system.
@@ -26,6 +27,6 @@ comment "rt-tests may not work on MIPS with an external uClibc toolchain"
 	depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC
 	depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
 
-comment "rt-tests needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "rt-tests needs a toolchain w/ threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 	depends on BR2_USE_MMU
Signature · 1 line
2.4.10