[uClibc-cvs] CVS uClibc/libc/sysdeps/linux/frv

CVS User vapier vapier at codepoet.org
Sat Jan 29 03:34:13 UTC 2005


Update of /var/cvs/uClibc/libc/sysdeps/linux/frv
In directory nail:/tmp/cvs-serv31063/sysdeps/linux/frv

Modified Files:
	Makefile 
Log Message:
merge parallel build support

--- /var/cvs/uClibc/libc/sysdeps/linux/frv/Makefile	2004/12/22 18:58:09	1.10
+++ /var/cvs/uClibc/libc/sysdeps/linux/frv/Makefile	2005/01/29 03:34:13	1.11
@@ -36,13 +36,13 @@
 
 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 @@
 	$(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



More information about the uClibc-cvs mailing list