Revision 575a9d4e2c09675c05db2bc781c5c33153ce932f authored by Vineet Gupta on 17 December 2015, 06:52:21 UTC, committed by Vineet Gupta on 17 December 2015, 07:26:56 UTC
Makes it similar to smp_ops which also has callback with same name Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent b474a02
headers.sh
#!/bin/sh
# Run headers_$1 command for all suitable architectures
# Stop on error
set -e
do_command()
{
if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then
make ARCH=$2 KBUILD_HEADERS=$1 headers_$1
else
printf "Ignoring arch: %s\n" ${arch}
fi
}
archs=${HDR_ARCH_LIST:-$(ls ${srctree}/arch)}
for arch in ${archs}; do
case ${arch} in
um) # no userspace export
;;
*)
if [ -d ${srctree}/arch/${arch} ]; then
do_command $1 ${arch}
fi
;;
esac
done
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...