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
11 elif [ -f ${srctree}/include
/asm-
$2/Kbuild
]; then
12 make ARCH
=$2 KBUILD_HEADERS
=$1 headers_
$1
14 printf "Ignoring arch: %s\n" ${arch}
18 archs
=$
(ls ${srctree}/arch
)
20 for arch
in ${archs}; do
22 um
) # no userspace export
24 cris
) # headers export are known broken
27 if [ -d ${srctree}/arch
/${arch} ]; then