summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-16 13:11:36 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-16 13:11:36 +0000
commit6437980d51e5690e79429d552728800c14a53843 (patch)
treee79eb01e1c723113d27ca01b6fcecec006024b71 /libc/sysdeps/linux/arm
parent320f7978c246b0748bb3c3152a7503eb4048277e (diff)
Makefile fixes
Diffstat (limited to 'libc/sysdeps/linux/arm')
-rw-r--r--libc/sysdeps/linux/arm/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile
index f9dba69c8..08e7c01b0 100644
--- a/libc/sysdeps/linux/arm/Makefile
+++ b/libc/sysdeps/linux/arm/Makefile
@@ -37,17 +37,17 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(SOBJS) $(MOBJ) $(COBJS)
-all: $(OBJS) $(CRT0_OBJ) $(LIBC)
+all: $(OBJS) $(LIBC)
-$(LIBC): ar-target
+$(LIBC): ar-target
-ar-target: $(OBJS)
+ar-target: $(OBJS) $(CRT0_OBJ)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+ cp $(CRT0_OBJ) $(TOPDIR)/$(CRT0_OBJ)
$(CRT0_OBJ): %.o : %.S
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
- cp $*.o $(TOPDIR)/libcrt0.o
$(SOBJS): %.o : %.S
$(CC) $(CFLAGS) -c $< -o $@