rt-tests: fix build of NPTL dependent tests
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.]
Cc Alexey Brodkin <[email protected]>
Reported-by "Williams Jr., Ernest L." <[email protected]>
Signed-off-by Baruch Siach <[email protected]>
Tested-by Alexey Brodkin <[email protected]>
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/rt-tests/rt-tests.mk | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
package/rt-tests/rt-tests.mk +3 -1
@@ -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