From 561ce7fb9f1d4813b5ae5d76c95c1c77ee20236f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 13 Jun 2012 11:17:14 +0200 Subject: buildsys: prune pthread bits from arch headers Pickup the correct version of e.g. local_lim.h as seen on ppc Signed-off-by: Bernhard Reutner-Fischer --- Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.in b/Makefile.in index 8405f43ef..9d18cfe42 100644 --- a/Makefile.in +++ b/Makefile.in @@ -92,6 +92,10 @@ HEADERS_BITS_SUBARCH := ifneq ($(TARGET_SUBARCH),) HEADERS_BITS_SUBARCH := $(notdir $(wildcard $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/bits/$(TARGET_SUBARCH)/*.h)) endif +ifneq ($(HEADERS_BITS_PTHREAD),) +HEADERS_BITS_ARCH := $(filter-out $(HEADERS_BITS_PTHREAD),$(HEADERS_BITS_ARCH)) +HEADERS_BITS_SUBARCH:= $(filter-out $(HEADERS_BITS_PTHREAD),$(HEADERS_BITS_SUBARCH)) +endif HEADERS_BITS_COMMON := $(filter-out $(HEADERS_BITS_ARCH) $(HEADERS_BITS_SUBARCH) $(HEADERS_BITS_PTHREAD),$(HEADERS_BITS_COMMON)) HEADERS_SYS_COMMON := $(notdir $(wildcard $(top_srcdir)libc/sysdeps/linux/common/sys/*.h)) -- cgit v1.2.3