diff options
Diffstat (limited to 'scripts/headers.sh')
| -rwxr-xr-x | scripts/headers.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/headers.sh b/scripts/headers.sh index 0308ecc10d5..95ece06599a 100755 --- a/scripts/headers.sh +++ b/scripts/headers.sh @@ -8,14 +8,12 @@ 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 } -archs=$(ls ${srctree}/arch) +archs=${HDR_ARCH_LIST:-$(ls ${srctree}/arch)} for arch in ${archs}; do case ${arch} in @@ -30,5 +28,3 @@ for arch in ${archs}; do ;; esac done - - |
