summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-07-06 10:50:39 -0700
committerKhem Raj <raj.khem@gmail.com>2010-07-06 10:50:39 -0700
commitc1ed2279c93615cfa47380c7007b2b145a1966a4 (patch)
treebdddf9fd911d7511098b3f8599384197781790ea
parent9381d622e2411a35a5fd73a5a573eb269e2dd9c9 (diff)
nptl: Filter out gen_tcb-offsets.c from CSRC for libpthread.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--libpthread/nptl/sysdeps/Makefile.commonarch2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/Makefile.commonarch b/libpthread/nptl/sysdeps/Makefile.commonarch
index a7080c088..591173b31 100644
--- a/libpthread/nptl/sysdeps/Makefile.commonarch
+++ b/libpthread/nptl/sysdeps/Makefile.commonarch
@@ -17,6 +17,8 @@ endif
-include $(libpthread_arch_DIR)/Makefile.arch
libpthread_arch_SSRC := $(filter-out librt-%,$(filter-out libc-%,$(notdir $(wildcard $(libpthread_arch_DIR)/*.S))))
libpthread_arch_CSRC := $(filter-out librt-%,$(filter-out libc-%,$(notdir $(wildcard $(libpthread_arch_DIR)/*.c))))
+libpthread_arch_CSRC := $(filter-out gen_tcb-offsets.c, $(libpthread_arch_CSRC))
+
ifneq ($(TARGET_SUBARCH),)
libpthread_subarch_SSRC := $(notdir $(wildcard $(libpthread_subarch_DIR)/*.S))
libpthread_arch_SSRC := $(filter-out $(libpthread_subarch_SSRC),$(libpthread_arch_SSRC))