From 7e6c5ff78144962c23b22a0d98e8248b07b861a4 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 15 Jan 2015 09:19:36 +0200 Subject: [PATCH] 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 Reported-by: "Williams Jr., Ernest L." Signed-off-by: Baruch Siach Tested-by: Alexey Brodkin Signed-off-by: Thomas Petazzoni --- package/rt-tests/rt-tests.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2