patches/uClibc/0.9.30/210-find-portable.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 18:10:53 2011 +0200 (2011-07-17)
changeset 2890 a59712c236df
permissions -rw-r--r--
cc/gcc: add host parameter to core compiler build process

Tell the core compiler what host it should run on (instead of
hard-coding runing on CT_HOST).

No functional change so far, switching between CT_HOST and CT_BUILD
will come in a following patch.

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