From dcd2ae90d5d5c9f9360def390f8ff413ee3dba57 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 5 Apr 2012 23:40:28 -0400 Subject: [PATCH] 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. --- ChangeLog | 3 +++ scripts/check-local-headers.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6337288..be9cda5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-04-05 David S. Miller + * 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 diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index c7bc40b..08ed880 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -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 } { -- 2.7.4