If external toolchain support NPTL, then we should build Open POSIX Testsuite if...
author"Steven J. Hill" <sjhill@realitydiluted.com>
Sat, 16 Jun 2007 18:27:38 +0000 (18:27 -0000)
committer"Steven J. Hill" <sjhill@realitydiluted.com>
Sat, 16 Jun 2007 18:27:38 +0000 (18:27 -0000)
package/ltp-testsuite/ltp-testsuite.mk

index 8ad6f0a66808c6a330f19034b248168637811438..a59b1c0a5ea61b60c20f260c72f742c79fc13718 100644 (file)
@@ -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