summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-12 06:41:45 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-12 06:41:45 +0000
commit29ad4b6e03f30e7ec267f56b24b130c54a02e723 (patch)
tree26127c0417367e63c2552d77380b21705a158c4c
parent52f571432b24b447da9159a1172aff425c023408 (diff)
I'd broken powerpc crt0.o installation
-rw-r--r--libc/sysdeps/linux/powerpc/Makefile6
1 files changed, 4 insertions, 2 deletions
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