patches/uClibc/0.9.30/210-find-portable.patch
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:27:54 2011 +1300 (2011-09-29)
changeset 2694 2c01a02334ea
permissions -rw-r--r--
Makefile: use phony targets

Add 'build', 'build-*', and 'install' as phony targets to the top level
Makefile.

I tend to do everything in tree with the build in a directory called
'build'. This interfered with the target 'build', making it think the
target was up to date, and stopping scripts/crosstool-NG.sh from being
regenerated.

Added 'install' as I often set the prefix to $PWD/install.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
     1 --- uClibc-0.9.30.orig/extra/scripts/install_headers.sh	2008-10-10 15:50:38.000000000 +0200
     2 +++ uClibc-0.9.30/extra/scripts/install_headers.sh	2011-08-21 09:49:03.000000000 +0200
     3 @@ -33,7 +33,7 @@
     4  (
     5  # We must cd, or else we'll prepend "$1" to filenames!
     6  cd "$1" || exit 1
     7 -find ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \
     8 +find . ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \
     9  	-e '/^config$/d'
    10  ) | \
    11  (