[uClibc-cvs] uClibc/libc/sysdeps/linux/common Makefile,1.87,1.88

Erik Andersen andersen at uclibc.org
Sat Oct 18 10:08:03 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory winder:/tmp/cvs-serv5990/libc/sysdeps/linux/common

Modified Files:
	Makefile 
Log Message:
Peter Kjellerstedt writes:

install.patch:
* Define $(INSTALL) as install in Rules.mak.
* Change all occurrences of install into $(INSTALL).
* Change all occurrences of mkdir -p into $(INSTALL) -d.
  install -d is already used in a number of places so
  this should not be an additional compatibility problem.



Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/Makefile,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- Makefile	8 Oct 2003 19:30:33 -0000	1.87
+++ Makefile	18 Oct 2003 10:07:35 -0000	1.88
@@ -80,21 +80,21 @@
 	$(CC) $(SAFECFLAGS) -c crti.S -o crti.o
 
 $(TOPDIR)lib/crti.o: crti.o
-	mkdir -p $(TOPDIR)lib/
+	$(INSTALL) -d $(TOPDIR)lib/
 	cp crti.o $(TOPDIR)lib/
 
 crtn.o: crtn.S
 	$(CC) $(SAFECFLAGS) -c crtn.S -o crtn.o
 
 $(TOPDIR)lib/crtn.o: crtn.o
-	mkdir -p $(TOPDIR)lib/
+	$(INSTALL) -d $(TOPDIR)lib/
 	cp crtn.o $(TOPDIR)lib/
 else
 $(TOPDIR)lib/crti.o:
-	mkdir -p $(TOPDIR)lib/
+	$(INSTALL) -d $(TOPDIR)lib/
 	$(AR) $(ARFLAGS) $(TOPDIR)lib/crti.o
 $(TOPDIR)lib/crtn.o:
-	mkdir -p $(TOPDIR)lib/
+	$(INSTALL) -d $(TOPDIR)lib/
 	$(AR) $(ARFLAGS) $(TOPDIR)lib/crtn.o
 endif
 




More information about the uClibc-cvs mailing list