diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-01-08 10:44:05 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-01-08 10:49:09 +0100 |
commit | 7feb0934e2466efabe9268d8d3df0450297ec04e (patch) | |
tree | 041f0f2edad766f5af16e6f62cad066313910aac /extra/scripts/install_headers.sh | |
parent | 08e9f6f368dcd3bb95c9f68e666ca1a0fb5d6df6 (diff) |
buildsys: update unifdef
sync up to 1542ea42da59018860a987f34f065cd120982e8c
(2.10 + cleaner exit status handling)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra/scripts/install_headers.sh')
-rwxr-xr-x | extra/scripts/install_headers.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/extra/scripts/install_headers.sh b/extra/scripts/install_headers.sh index d40ae1332..8c8d715ef 100755 --- a/extra/scripts/install_headers.sh +++ b/extra/scripts/install_headers.sh @@ -34,7 +34,7 @@ fi # Sanitize and copy uclibc headers ( -# We must cd, or else we'll prepend "${srcdir}" to filenames! +# We must cd, or else we will prepend "${srcdir}" to filenames! cd "${srcdir}" || exit 1 find . ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \ -e '/^config$/d' @@ -50,13 +50,12 @@ while read -r filename; do # Do not install libc-XXXX.h files continue fi - # NB: unifdef exits with 1 if output is not - # exactly the same as input. That's ok. # Do not abort the script if unifdef "fails"! # NB2: careful with sed command arguments, they contain tab character "$top_builddir/extra/scripts/unifdef" \ -B \ -t \ + -x 2 \ -f "$top_builddir/include/generated/unifdef_config.h" \ -U_LIBC \ -U__UCLIBC_GEN_LOCALE \ |