summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile8
-rw-r--r--libc/sysdeps/linux/common/Makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 06676d486..d7effaaed 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -53,9 +53,9 @@ all: halfclean subdirs $(LIBNAME) $(DO_SHARED)
ar-target:
$(CROSS)ranlib $(LIBNAME)
- install -d $(TOPDIR)lib
+ $(INSTALL) -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBNAME)
- install -m 644 $(LIBNAME) $(TOPDIR)lib
+ $(INSTALL) -m 644 $(LIBNAME) $(TOPDIR)lib
$(LIBNAME): subdirs ar-target
@@ -66,9 +66,9 @@ shared: $(TOPDIR)lib/$(LIBNAME) $(LIBGCC_NEED)
$(TOPDIR)/libc/misc/internals/interp.o --no-whole-archive \
-init __uClibc_init $(LIBGCC)
@true #rm -rf tmp
- install -d $(TOPDIR)lib
+ $(INSTALL) -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(SHARED_FULLNAME)
- install -m 644 $(SHARED_FULLNAME) $(TOPDIR)lib
+ $(INSTALL) -m 644 $(SHARED_FULLNAME) $(TOPDIR)lib
(cd ../lib && ln -sf $(SHARED_FULLNAME) libc.so);
(cd ../lib && ln -sf $(SHARED_FULLNAME) $(SHARED_MAJORNAME));
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