소스 검색

Again, I need to cut down on my merge times and this last set of changes to the makefile structure is killing me. Sorry to put more native thread stuff in, but it cannot be activated in the trunk, so there is no harm.

"Steven J. Hill" 18 년 전
부모
커밋
80f876c3fa
1개의 변경된 파일10개의 추가작업 그리고 3개의 파일을 삭제
  1. 10 3
      libpthread/Makefile

+ 10 - 3
libpthread/Makefile

@@ -19,11 +19,18 @@
 TOPDIR=../
 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
-
-DIRS=linuxthreads
+DIRS = linuxthreads
 ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
-	DIRS+=linuxthreads_db
+        DIRS += linuxthreads_db
+endif
 endif
 
 all: subdirs