mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
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.
This commit is contained in:
parent
47cc1490e0
commit
9f45bfe790
@ -27,11 +27,12 @@ shopt -s nullglob
|
|||||||
|
|
||||||
# Search all dependency files for file names in the include directory.
|
# Search all dependency files for file names in the include directory.
|
||||||
# There are a few system headers we are known to use.
|
# 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" '
|
exec ${AWK} -v includedir="$includedir" '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
status = 0
|
status = 0
|
||||||
exclude = "^" includedir \
|
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 }
|
/^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user