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 archheaders
11 make ARCH
=$2 KBUILD_HEADERS
=$1 headers_
$1
13 printf "Ignoring arch: %s\n" ${arch}
17 archs
=${HDR_ARCH_LIST:-$(ls ${srctree}/arch)}
19 for arch
in ${archs}; do
21 um
) # no userspace export
23 cris
) # headers export are known broken
26 if [ -d ${srctree}/arch
/${arch} ]; then