From 29ad4b6e03f30e7ec267f56b24b130c54a02e723 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 12 May 2001 06:41:45 +0000 Subject: I'd broken powerpc crt0.o installation --- libc/sysdeps/linux/powerpc/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/powerpc/Makefile b/libc/sysdeps/linux/powerpc/Makefile index d877b85e3..4614627a7 100644 --- a/libc/sysdeps/linux/powerpc/Makefile +++ b/libc/sysdeps/linux/powerpc/Makefile @@ -30,10 +30,11 @@ TARGET_MACHINE_TYPE=$(shell $(CC) -dumpmachine) ifeq ($(USE_CRT0_C),y) CRT0=crt0.c +CRT0_OBJ=$(patsubst %.c,%.o, $(CRT0)) else CRT0=crt0.S -endif CRT0_OBJ=$(patsubst %.S,%.o, $(CRT0)) +endif SSRC=longjmp.S setjmp.S vfork.S SOBJS=$(patsubst %.S,%.o, $(SSRC)) @@ -51,7 +52,8 @@ $(LIBC): ar-target ar-target: $(OBJS) $(CRT0_OBJ) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) - cp $(CRT0_OBJ) $(TOPDIR)libc/$(CRT0_OBJ) + cp $(CRT0_OBJ) $(TOPDIR)libc + ifeq ($(USE_CRT0_C),y) $(CRT0_OBJ): %.o : %.c -- cgit v1.2.3