aboutsummaryrefslogtreecommitdiff
path: root/scripts/headers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/headers.sh')
-rwxr-xr-xscripts/headers.sh13
1 files changed, 1 insertions, 12 deletions
diff --git a/scripts/headers.sh b/scripts/headers.sh
index d33426f866d..95ece06599a 100755
--- a/scripts/headers.sh
+++ b/scripts/headers.sh
@@ -8,26 +8,17 @@ do_command()
{
if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then
make ARCH=$2 KBUILD_HEADERS=$1 headers_$1
- elif [ -f ${srctree}/include/asm-$2/Kbuild ]; then
- make ARCH=$2 KBUILD_HEADERS=$1 headers_$1
else
printf "Ignoring arch: %s\n" ${arch}
fi
}
-# Do not try this architecture
-drop="generic um ppc sparc64 cris"
-
-archs=$(ls ${srctree}/arch)
+archs=${HDR_ARCH_LIST:-$(ls ${srctree}/arch)}
for arch in ${archs}; do
case ${arch} in
um) # no userspace export
;;
- ppc) # headers exported by powerpc
- ;;
- sparc64) # headers exported by sparc
- ;;
cris) # headers export are known broken
;;
*)
@@ -37,5 +28,3 @@ for arch in ${archs}; do
;;
esac
done
-
-