From ded4332183bf5e662c30694237a8fe31b840fdf4 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Sat, 8 Oct 2005 01:30:59 +0000 Subject: Fix up PTDIR bug and clean target for libpthread. --- Rules.mak | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 68cc43294..4e5189eb3 100644 --- a/Rules.mak +++ b/Rules.mak @@ -309,17 +309,17 @@ ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y) else PTNAME := linuxthreads endif -PTDIR := $(TOPDIR)libpthread/$(PTNAME)/ +PTDIR := $(TOPDIR)libpthread/$(PTNAME) # set up system dependencies include dirs (NOTE: order matters!) ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y) -PTINC := -I$(PTDIR)compat \ - -I$(PTDIR)sysdeps/unix/sysv/linux/$(TARGET_ARCH) \ - -I$(PTDIR)sysdeps/$(TARGET_ARCH) \ - -I$(PTDIR)sysdeps/unix/sysv/linux \ - -I$(PTDIR)sysdeps/pthread \ - -I$(PTDIR)sysdeps/pthread/bits \ - -I$(PTDIR)sysdeps/generic \ - -include $(PTDIR)compat/libc-symbols.h +PTINC := -I$(PTDIR)/compat \ + -I$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH) \ + -I$(PTDIR)/sysdeps/$(TARGET_ARCH) \ + -I$(PTDIR)/sysdeps/unix/sysv/linux \ + -I$(PTDIR)/sysdeps/pthread \ + -I$(PTDIR)/sysdeps/pthread/bits \ + -I$(PTDIR)/sysdeps/generic \ + -include $(PTDIR)/compat/libc-symbols.h # # Test for TLS if NPTL support was selected. # @@ -340,8 +340,8 @@ endif else # psm: the next 2 are probably incorrect, the generic header will # win over the arch specific one -PTINC := -I$(PTDIR)sysdeps/pthread \ - -I$(PTDIR)sysdeps/$(TARGET_ARCH) +PTINC := -I$(PTDIR)/sysdeps/pthread \ + -I$(PTDIR)/sysdeps/$(TARGET_ARCH) endif endif -- cgit v1.2.3