add magicbox 2.0 cf slot support - kmod-ide must not be used on magicbox 1.1 (no...
[openwrt.git] / toolchain / uClibc / patches / 150-portability.patch
index b29c16e..c3a8510 100644 (file)
@@ -8,7 +8,7 @@ Fix portability of build infrastructure
        $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
        $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
        -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
--      if [ "$(KERNEL_SOURCE)" == "$(DEVEL_PREFIX)" ] ; then \
+-      if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
 -              extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
 -      else \
 -              extra_exclude="" ; \
@@ -23,16 +23,7 @@ Fix portability of build infrastructure
        $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
                $(PREFIX)$(RUNTIME_PREFIX)lib
 -      cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
-+      cp -PRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
++      cp -pRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
        @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
            set -e; \
                $(SHELL_SET_X); \
-@@ -370,7 +365,7 @@ distclean: clean
- release: distclean
-       cd ..;                                  \
-       $(RM) -r uClibc-$(VERSION);             \
--      cp -dRf uClibc uClibc-$(VERSION);       \
-+      cp -PRf uClibc uClibc-$(VERSION);       \
-       find uClibc-$(VERSION)/ -type f         \
-           -name .\#* -exec $(RM) -r {} \; ;   \
-       find uClibc-$(VERSION)/ -type d         \
This page took 0.019903 seconds and 4 git commands to generate.