summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-18 10:07:43 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-18 10:07:43 +0000
commit49f0dd0fcb64746b1ef06e094f2fa8091c23637c (patch)
tree86f964fdcaea6ec3da6036b8f68aff37f4f4dc7b /libc/sysdeps/linux/common
parent1381777907fbd50582e7a5ecd950ca26ca56b26f (diff)
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.
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 8bff24f2e..1b51e095a 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -80,21 +80,21 @@ crti.o: crti.S
$(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