diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-10-30 14:17:49 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-10-30 14:18:17 -0400 |
commit | 9f45bfe790a59bfc072ef096b21dc701e03bccf9 (patch) | |
tree | a1e95b3d89851d1938e42418c6c24b22c132a30c | |
parent | 47cc1490e0a610bd74a31c6699a3859a823da9b3 (diff) | |
download | glibc-9f45bfe790a59bfc072ef096b21dc701e03bccf9.zip glibc-9f45bfe790a59bfc072ef096b21dc701e03bccf9.tar.gz glibc-9f45bfe790a59bfc072ef096b21dc701e03bccf9.tar.bz2 |
check-local-headers: Ignore <arch> headers
The tile architecture's Linux port installs headers in an
<arch> directory; these headers are in part shared with glibc.
Ignore these headers for check-local-headers like we ignore
all the other Linux headers.
-rwxr-xr-x | scripts/check-local-headers.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index 7fafcbf..e914c4b 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -27,11 +27,12 @@ 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). exec ${AWK} -v includedir="$includedir" ' BEGIN { status = 0 exclude = "^" includedir \ - "/(.*-.*-.*/|)(asm[-/]|linux/|selinux/|gd|nss3/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" + "/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|gd|nss3/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" } /^[^ ]/ && $1 ~ /.*:/ { obj = $1 } { |