aboutsummaryrefslogtreecommitdiff
path: root/package/rt-tests
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2015-01-15 09:19:36 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-15 09:39:56 +0100
commit7e6c5ff78144962c23b22a0d98e8248b07b861a4 (patch)
tree5ac4e586a60cf5e9e252d1fd33c82975f695cab8 /package/rt-tests
parent56c27a0235a1dc03dc587e30181d73ab880c127b (diff)
downloadbuildroot-7e6c5ff78144962c23b22a0d98e8248b07b861a4.tar.gz
buildroot-7e6c5ff78144962c23b22a0d98e8248b07b861a4.tar.bz2
rt-tests: fix build of NPTL dependent tests
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.] Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Reported-by: "Williams Jr., Ernest L." <ernesto@slac.stanford.edu> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Tested-by: Alexey Brodkin <abrodkin@synpsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/rt-tests')
-rw-r--r--package/rt-tests/rt-tests.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/rt-tests/rt-tests.mk b/package/rt-tests/rt-tests.mk
index e0c7748c9c..74d7c6dfe8 100644
--- a/package/rt-tests/rt-tests.mk
+++ b/package/rt-tests/rt-tests.mk
@@ -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