summaryrefslogtreecommitdiff
path: root/extra/scripts/install_headers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scripts/install_headers.sh')
-rwxr-xr-xextra/scripts/install_headers.sh5
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 \