summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/mips/Makefile.arch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-12 13:29:14 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-07-06 18:33:22 +0200
commitc06619d7ab2ebbbc93427ca6a49dcc8d479db549 (patch)
treedcacc00551066b7c1881c0bc33e8d63383eee63d /libpthread/nptl/sysdeps/mips/Makefile.arch
parenta8f396655b8cca3518ac20d07246d91eb138ce07 (diff)
nptl: simplify buildsys
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/mips/Makefile.arch')
-rw-r--r--libpthread/nptl/sysdeps/mips/Makefile.arch46
1 files changed, 0 insertions, 46 deletions
diff --git a/libpthread/nptl/sysdeps/mips/Makefile.arch b/libpthread/nptl/sysdeps/mips/Makefile.arch
index 2992f35f1..7b6bfd48e 100644
--- a/libpthread/nptl/sysdeps/mips/Makefile.arch
+++ b/libpthread/nptl/sysdeps/mips/Makefile.arch
@@ -19,50 +19,4 @@ ASFLAGS-nptl-sysdep.S = -DNOT_IN_libc=1 -DIS_IN_libpthread=1 \
-I$(top_srcdir)libc/sysdeps/linux/mips
CFLAGS-mips = $(SSP_ALL_CFLAGS)
-#CFLAGS:=$(CFLAGS:-O1=-O2)
-PTHREAD_ARCH_DIR := $(top_srcdir)libpthread/nptl/sysdeps/mips
-PTHREAD_ARCH_OUT := $(top_builddir)libpthread/nptl/sysdeps/mips
-PTHREAD_ARCH_OBJ := $(patsubst %.S,$(PTHREAD_ARCH_OUT)/%.o,$(libpthread_SSRC))
-
-ifeq ($(DOPIC),y)
-libpthread-a-y += $(PTHREAD_ARCH_OBJ:.o=.os)
-else
-libpthread-a-y += $(PTHREAD_ARCH_OBJ)
-endif
-libpthread-so-y += $(PTHREAD_ARCH_OBJ:.o=.oS)
-
-libpthread-nomulti-y += $(PTHREAD_ARCH_OBJ)
-
-LIBC_ARCH_OBJ := $(patsubst %.c,$(PTHREAD_ARCH_OUT)/%.o,$(libc_a_CSRC))
-
-libc-static-y += $(LIBC_ARCH_OBJ)
-
-libc-nomulti-y += $(LIBC_ARCH_OBJ)
-
-objclean-y += nptl_arch_objclean
-headers_clean-y += nptl_arch_headers_clean
-
-#
-# Create 'tcb-offsets.h' header file.
-#
-CFLAGS-tcb-offsets.c = -S
-
-$(PTHREAD_ARCH_OUT)/tcb-offsets.c: $(PTHREAD_ARCH_DIR)/tcb-offsets.sym
- $(do_awk) $(top_srcdir)extra/scripts/gen-as-const.awk $< > $@
-
-$(PTHREAD_ARCH_OUT)/tcb-offsets.s: $(PTHREAD_ARCH_OUT)/tcb-offsets.c
- $(compile.c)
-
-$(PTHREAD_ARCH_OUT)/tcb-offsets.h: $(PTHREAD_ARCH_OUT)/tcb-offsets.s
- $(do_sed) -n "s/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$\/#define \1 \2/p" $< > $@
-
-pregen-headers-$(UCLIBC_HAS_THREADS_NATIVE) += $(PTHREAD_ARCH_OUT)/tcb-offsets.h
-
-nptl_arch_headers_clean:
- $(RM) $(PTHREAD_ARCH_OUT)/tcb-offsets.c \
- $(PTHREAD_ARCH_OUT)/tcb-offsets.s \
- $(PTHREAD_ARCH_OUT)/tcb-offsets.h
-
-nptl_arch_objclean:
- $(RM) $(PTHREAD_ARCH_OUT)/*.{o,os,oS}