Commit a7dae191 authored by "Steven J. Hill"'s avatar "Steven J. Hill"
Browse files

If external toolchain support NPTL, then we should build Open POSIX Testsuite...

If external toolchain support NPTL, then we should build Open POSIX Testsuite if the user selects us.
parent 07feaa57
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,10 +16,13 @@ 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


$(DL_DIR)/$(LTP_TESTSUITE_SOURCE):