|
@@ -19,11 +19,18 @@
|
|
TOPDIR=../
|
|
TOPDIR=../
|
|
include $(TOPDIR)Rules.mak
|
|
include $(TOPDIR)Rules.mak
|
|
|
|
|
|
|
|
+ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y)
|
|
|
|
+ALL_SUBDIRS = nptl nptl_db
|
|
|
|
+DIRS = nptl
|
|
|
|
+ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
|
|
|
|
+ DIRS += nptl_db
|
|
|
|
+endif
|
|
|
|
+else
|
|
ALL_SUBDIRS = linuxthreads linuxthreads_db
|
|
ALL_SUBDIRS = linuxthreads linuxthreads_db
|
|
-
|
|
|
|
-DIRS=linuxthreads
|
|
|
|
|
|
+DIRS = linuxthreads
|
|
ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
|
|
ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
|
|
- DIRS+=linuxthreads_db
|
|
|
|
|
|
+ DIRS += linuxthreads_db
|
|
|
|
+endif
|
|
endif
|
|
endif
|
|
|
|
|
|
all: subdirs
|
|
all: subdirs
|