2 # Run headers_$1 command for all suitable architectures
9 if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then
10 make ARCH=$2 KBUILD_HEADERS=$1 headers_$1
12 printf "Ignoring arch: %s\n" ${arch}
16 archs=$(ls ${srctree}/arch)
18 for arch in ${archs}; do
20 um) # no userspace export
22 cris) # headers export are known broken
25 if [ -d ${srctree}/arch/${arch} ]; then