From 8f09de8da8f774a6ccd9af69e485426a3c7e3be0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 29 Jan 2005 03:34:13 +0000 Subject: merge parallel build support --- libc/sysdeps/linux/frv/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/frv/Makefile b/libc/sysdeps/linux/frv/Makefile index f2e169d74..dbf78d1c6 100644 --- a/libc/sysdeps/linux/frv/Makefile +++ b/libc/sysdeps/linux/frv/Makefile @@ -36,13 +36,13 @@ COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(SOBJS) $(COBJS) -all: $(OBJS) $(LIBC) +OBJ_LIST=../../../obj.sysdeps.$(TARGET_ARCH) -$(LIBC): ar-target +all: $(OBJ_LIST) -ar-target: $(OBJS) $(CRT0_OBJ) $(SCRT0_OBJ) $(CTOR_TARGETS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) - $(INSTALL) -d $(TOPDIR)lib +$(OBJ_LIST): $(OBJS) $(CRT0_OBJ) $(SCRT0_OBJ) $(CTOR_TARGETS) + echo $(patsubst %, sysdeps/linux/$(TARGET_ARCH)/%, $(OBJS)) > $(OBJ_LIST) + $(INSTALL) -d $(TOPDIR)lib/ cp $(CRT0_OBJ) $(SCRT0_OBJ) $(CTOR_TARGETS) $(TOPDIR)lib/ $(CRT0_OBJ): $(CRT0_SRC) crtreloc.o @@ -75,6 +75,6 @@ headers: $(LN) -fs ../libc/sysdeps/linux/frv/link.h $(TOPDIR)/include/ clean: - rm -f *.[oa] *~ core - rm -f bits/sysnum.h + $(RM) *.[oa] *~ core + $(RM) bits/sysnum.h $(RM) $(TOPDIR)/include/link.h -- cgit v1.2.3