From c50567169bd677adacfd4de3bf6c9349331fd874 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Sat, 7 May 2005 00:31:49 +0000 Subject: Add in configuration item and Makefile changes for NPTL. We will be placing the NPTL code under the top-level 'libpthread' directory. Nothing compiles or even works at this point, so do not enable this option. --- libpthread/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libpthread') diff --git a/libpthread/Makefile b/libpthread/Makefile index 81979feb9..30fa34736 100644 --- a/libpthread/Makefile +++ b/libpthread/Makefile @@ -32,7 +32,11 @@ LIBTHREAD_DB_SHARED_FULLNAME=libthread_db-$(MAJOR_VERSION).$(MINOR_VERSION).$(SU DIRS= ifeq ($(strip $(UCLIBC_HAS_THREADS)),y) +ifeq ($(strip $(PTHREADS_NATIVE)),y) + DIRS+=nptl +else DIRS+=linuxthreads +endif LDFLAGS_THREAD:= $(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc -z defs ifeq ($(UCLIBC_BUILD_RELRO),y) LDFLAGS_THREAD+=-z relro @@ -41,7 +45,11 @@ ifeq ($(UCLIBC_BUILD_NOW),y) LDFLAGS_THREAD+=-z now endif ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y) +ifeq ($(strip $(PTHREADS_NATIVE)),y) DIRS+=linuxthreads_db +else + DIRS+=nptl_db +endif LDFLAGS_THREAD_DB:= $(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc endif ifeq ($(DODEBUG),n) -- cgit v1.2.3