OSDN Git Service

Do not use portable (POSIX) 'cp -PRf' but instead use 'cp -dRf' since
authorEric Andersen <andersen@codepoet.org>
Tue, 11 Jan 2005 10:58:19 +0000 (10:58 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 11 Jan 2005 10:58:19 +0000 (10:58 -0000)
busybox does not yet support 'cp -P'

Makefile

index ec2c462..2b2dd84 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -232,7 +232,7 @@ ifeq ($(strip $(HAVE_SHARED)),y)
        $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib
        $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
                $(PREFIX)$(RUNTIME_PREFIX)lib
-       cp -PRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
+       cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
        @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
            set -x -e; \
            $(INSTALL) -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
@@ -347,7 +347,7 @@ distclean: clean
 release: distclean
        cd ..;                                  \
        $(RM) -r uClibc-$(VERSION);             \
-       cp -PRf uClibc uClibc-$(VERSION);       \
+       cp -dRf uClibc uClibc-$(VERSION);       \
        find uClibc-$(VERSION)/ -type f         \
            -name .\#* -exec $(RM) -r {} \; ;   \
        find uClibc-$(VERSION)/ -type d         \