svn commit: trunk/uClibc: libpthread/linuxthreads_db

vapier at uclibc.org vapier at uclibc.org
Tue Nov 22 21:31:13 UTC 2005


Author: vapier
Date: 2005-11-22 13:31:10 -0800 (Tue, 22 Nov 2005)
New Revision: 12478

Log:
touchup include paths

Modified:
   trunk/uClibc/Rules.mak
   trunk/uClibc/libpthread/linuxthreads_db/Makefile.in


Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak	2005-11-22 21:25:37 UTC (rev 12477)
+++ trunk/uClibc/Rules.mak	2005-11-22 21:31:10 UTC (rev 12478)
@@ -347,7 +347,8 @@
 PTDIR := $(top_builddir)libpthread/$(PTNAME)
 # set up system dependencies include dirs (NOTE: order matters!)
 ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
-PTINC:=	-I$(PTDIR)/compat					\
+PTINC := \
+	-I$(PTDIR)/compat					\
 	-I$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH)	\
 	-I$(PTDIR)/sysdeps/$(TARGET_ARCH)			\
 	-I$(PTDIR)/sysdeps/unix/sysv/linux			\
@@ -374,10 +375,15 @@
 	@exit 1;
 endif
 else
-PTINC:=	-I$(PTDIR)/sysdeps/$(TARGET_ARCH)			\
-	-I$(PTDIR)/sysdeps/pthread
+PTINC := \
+	-I$(PTDIR)/sysdeps/$(TARGET_ARCH) \
+	-I$(PTDIR)/sysdeps/pthread \
+	-I$(top_builddir)libpthread
 endif
 CFLAGS+=$(PTINC)
+else
+	PTNAME := 
+	PTINC  := 
 endif
 
 # Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include'

Modified: trunk/uClibc/libpthread/linuxthreads_db/Makefile.in
===================================================================
--- trunk/uClibc/libpthread/linuxthreads_db/Makefile.in	2005-11-22 21:25:37 UTC (rev 12477)
+++ trunk/uClibc/libpthread/linuxthreads_db/Makefile.in	2005-11-22 21:31:10 UTC (rev 12478)
@@ -7,7 +7,7 @@
 
 # Get the thread include dependencies and shared object name
 CFLAGS-linuxthreads_db := -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\""
-CFLAGS-linuxthreads_db += -I$(top_srcdir)libpthread -D_GNU_SOURCE
+CFLAGS-linuxthreads_db += -D_GNU_SOURCE
 
 LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s --warn-unresolved-symbols
 
@@ -44,11 +44,13 @@
 ifeq ($(DOPIC),y)
 $(top_builddir)lib/libthread_db.a: $(libthread_db-a-y:.o=.os)
 else
-$(top_builddir)lib/libthread_db.a: $(libthread_db-a-y)
+$(top_builddir)lib/libthread_db.a: $(libthread_db-a-y) $(libthread_db_OUT)/libthread_db_so.a
 endif
 	$(Q)$(INSTALL) -d $(dir $@)
 	$(Q)$(RM) $@
+ifneq ($(DOPIC),y)
 	$(do_strip)
+endif
 	$(do_ar)
 
 linuxthreads_db_headers:




More information about the uClibc-cvs mailing list