Skip to contentSkip to conversation

rt-tests: fix build of NPTL dependent tests

Buildroot Thomas Petazzoni 1 participant 1 message Jan 15, 2015

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=7e6c5ff78144962c23b22a0d98e8248b07b861a4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Commit 143fe5b443da4 (rt-tests: allow building subset of tests with non-NPTL toolchains) disabled build of NPTL dependent tests unconditionally. Fix this.

[Thomas:
- fix typo in commit title.
- reverse condition, to use positive logic.]

---
 package/rt-tests/rt-tests.mk |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
package/rt-tests/rt-tests.mk +3 -1
index e0c7748..74d7c6d 100644
@@ -13,7 +13,9 @@ ifeq ($(BR2_PACKAGE_PYTHON),y)
 RT_TESTS_DEPENDENCIES = python
 endif
 
-ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),)
+ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
+RT_TESTS_HAVE_NPTL=yes
+else
 RT_TESTS_HAVE_NPTL=no
 endif