From: Pino Toscano Date: Fri, 16 Nov 2012 17:55:19 +0000 (+0100) Subject: check-local-headers: ignore Mach kernel headers X-Git-Tag: upstream/2.20~2952 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a93f9cbc27a00f1bfe64b5ced19b8fde3bdbb1ea;p=platform%2Fupstream%2Flinaro-glibc.git check-local-headers: ignore Mach kernel headers --- diff --git a/ChangeLog b/ChangeLog index 0b8c511..48112a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-11-16 Pino Toscano + + * scripts/check-local-headers.sh: Ignore 'mach' headers. + 2012-11-16 Andrej Lajovic [BZ #14672] diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index 5cc8def..e744f8c 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -27,12 +27,13 @@ shopt -s nullglob # Search all dependency files for file names in the include directory. # There are a few system headers we are known to use. -# These include Linux kernel headers (asm*, arch, and linux). +# These include Linux kernel headers (asm*, arch, and linux), +# and Mach kernel headers (mach). exec ${AWK} -v includedir="$includedir" ' BEGIN { status = 0 exclude = "^" includedir \ - "/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" + "/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|mach/|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" } /^[^ ]/ && $1 ~ /.*:/ { obj = $1 } {