summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-06-16 18:27:38 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-06-16 18:27:38 +0000
commita7dae1919cf631a5cc95dc357bdf2acb58125669 (patch)
tree9a1df0bca22b7f003794c5953b5be02975a247d2 /package
parent07feaa5736d980bbb64d3c2eb69f9c47094d7e15 (diff)
If external toolchain support NPTL, then we should build Open POSIX Testsuite if the user selects us.
Diffstat (limited to 'package')
-rw-r--r--package/ltp-testsuite/ltp-testsuite.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk
index 8ad6f0a66..a59b1c0a5 100644
--- a/package/ltp-testsuite/ltp-testsuite.mk
+++ b/package/ltp-testsuite/ltp-testsuite.mk
@@ -16,9 +16,12 @@ LTP_TESTSUITE_DIR:=$(LTP_TESTSUITE_ROOT)/ltp-full-$(LTP_TESTSUITE_VERSION)
#
LTP_PATCHES:=$(subst package/ltp-testsuite/,, \
$(wildcard package/ltp-testsuite/*.patch))
+
ifneq ($(BR2_PTHREADS_NATIVE),y)
+ ifneq ($(BR2_EXT_PTHREADS_NATIVE),y)
LTP_PATCHES:=$(filter-out ltp-testsuite-enable-openposix-for-nptl.patch, \
$(LTP_PATCHES))
+ endif
endif