Browse Source

If external toolchain support NPTL, then we should build Open POSIX Testsuite if the user selects us.

"Steven J. Hill" 18 năm trước cách đây
mục cha
commit
a7dae1919c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      package/ltp-testsuite/ltp-testsuite.mk

+ 3 - 0
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