Kaynağa Gözat

I'd broken powerpc crt0.o installation

Eric Andersen 23 yıl önce
ebeveyn
işleme
29ad4b6e03
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      libc/sysdeps/linux/powerpc/Makefile

+ 4 - 2
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