From 473a7dd3d8c4ae64956db05872e35a0336f447ab Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 4 Feb 2002 13:51:21 +0000 Subject: Fixup mips so it now works and provides basic functionality --- libc/sysdeps/linux/mips/Makefile | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'libc/sysdeps/linux/mips/Makefile') diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile index 51f75caeb..b0bc87297 100644 --- a/libc/sysdeps/linux/mips/Makefile +++ b/libc/sysdeps/linux/mips/Makefile @@ -21,27 +21,19 @@ # other sundry sources. Files within this library are copyright by their # respective copyright holders. -USE_CRT0_C=y - TOPDIR=../../../../ include $(TOPDIR)Rules.mak ASFLAGS=$(CFLAGS) TARGET_MACHINE_TYPE=$(shell $(CC) -dumpmachine) -ifeq ($(USE_CRT0_C),y) -CRT0=crt0.c -CRT0_OBJ=$(patsubst %.c,%.o, $(CRT0)) -else CRT0=crt0.S CRT0_OBJ=$(patsubst %.S,%.o, $(CRT0)) -endif -#SSRC=longjmp.S setjmp.S vfork.S -SSRC= +SSRC=bsd-_setjmp.S bsd-setjmp.S setjmp.S #fork.S clone.S SOBJS=$(patsubst %.S,%.o, $(SSRC)) -CSRC= +CSRC=__longjmp.c brk.c COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(SOBJS) $(MOBJ) $(COBJS) @@ -56,11 +48,7 @@ ar-target: $(OBJS) $(CRT0_OBJ) cp $(CRT0_OBJ) $(TOPDIR)libc -ifeq ($(USE_CRT0_C),y) -$(CRT0_OBJ): %.o : %.c -else $(CRT0_OBJ): %.o : %.S -endif $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o -- cgit v1.2.3