Fix check-local-headers.sh on multiarch systems.

* scripts/check-local-headers.sh: Accept a host triplet in the
	path matched by the exclude regexp.
This commit is contained in:
David S. Miller 2012-04-05 23:40:28 -04:00
parent 993eb0541c
commit dcd2ae90d5
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2012-04-05 David S. Miller <davem@davemloft.net>
* scripts/check-local-headers.sh: Accept a host triplet in the
path matched by the exclude regexp.
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
definition.
* sysdeps/powerpc/powerpc32/dl-machine.h

View File

@ -28,7 +28,7 @@ exec ${AWK} -v includedir="$includedir" '
BEGIN {
status = 0
exclude = "^" includedir \
"/(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|libaudit\\.h)"
"/(.*-.*-.*/|)(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|libaudit\\.h)"
}
/^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
{