diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-18 10:07:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-18 10:07:43 +0000 |
commit | 49f0dd0fcb64746b1ef06e094f2fa8091c23637c (patch) | |
tree | 86f964fdcaea6ec3da6036b8f68aff37f4f4dc7b /libc/Makefile | |
parent | 1381777907fbd50582e7a5ecd950ca26ca56b26f (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/Makefile')
-rw-r--r-- | libc/Makefile | 8 |
1 files changed, 4 insertions, 4 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)); |