X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=toolchain%2FuClibc%2Fpatches%2F150-portability.patch;h=71afd50b57b7a43d836c3d7d0a4ae1b4fbf76b57;hb=8107ba4c06251523e2f33ab42168e628322ce72d;hp=b29c16ee03ec5453f3dee8f17ee5c71eda0ff601;hpb=54cf5c5fc5064eddeacf9480a58eb2b35c1a4642;p=openwrt-10.03%2F.git diff --git a/toolchain/uClibc/patches/150-portability.patch b/toolchain/uClibc/patches/150-portability.patch index b29c16ee0..71afd50b5 100644 --- a/toolchain/uClibc/patches/150-portability.patch +++ b/toolchain/uClibc/patches/150-portability.patch @@ -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="" ; \ @@ -27,12 +27,3 @@ Fix portability of build infrastructure @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 \