diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-17 15:10:13 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-17 15:10:13 +0000 |
| commit | 02169fea4dd790c46c100e210fe21faf112e27d7 (patch) | |
| tree | 7f6a257548c81cead6f61b56eba74b18a1dcaf18 /extra/scripts/install_headers.sh | |
| parent | 9584b4e582b293ead79d8bb0ff85c1ef12a888d9 (diff) | |
| download | uClibc-alpine-02169fea4dd790c46c100e210fe21faf112e27d7.tar.bz2 uClibc-alpine-02169fea4dd790c46c100e210fe21faf112e27d7.tar.xz | |
Synch with trunk @ 24071.
Step 2
locale stuff - configuration and top Makefiles
Diffstat (limited to 'extra/scripts/install_headers.sh')
| -rwxr-xr-x | extra/scripts/install_headers.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/scripts/install_headers.sh b/extra/scripts/install_headers.sh index 6d73ad2c6..d38d85327 100755 --- a/extra/scripts/install_headers.sh +++ b/extra/scripts/install_headers.sh @@ -33,12 +33,12 @@ fi ( # We must cd, or else we'll prepend "$1" to filenames! cd "$1" || exit 1 -find ! -name '.' -a ! -path '*/.*' +find ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \ + -e '/^config$/d' ) | \ ( IFS='' while read -r filename; do - filename="${filename#./}" if test -d "$1/$filename"; then mkdir -p "$2/$filename" 2>/dev/null else @@ -46,7 +46,7 @@ while read -r filename; do # exactly the same as input. That's ok. # Do not abort the script if unifdef "fails"! "$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL "$1/$filename" \ - | grep -v '^libc_hidden_proto[ ]*([a-zA-Z0-9_]*)$' >"$2/$filename" + | sed -e '/^\(rtld\|lib\(c\|m\|resolv\|dl\|intl\|rt\|nsl\|util\|crypt\|pthread\)\)_hidden_proto[ ]*([a-zA-Z0-9_]*)$/d' >"$2/$filename" fi done ) |
