https://github.com/torvalds/linux
Revision 5406898354ebfb11f49b955fb5e49a62786a542f authored by Mengdong Lin on 04 August 2015, 14:47:35 UTC, committed by Mark Brown on 04 August 2015, 15:45:00 UTC
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent bc0195a
Raw File
Tip revision: 5406898354ebfb11f49b955fb5e49a62786a542f authored by Mengdong Lin on 04 August 2015, 14:47:35 UTC
ASoC: topology: fix typo in soc_tplg_kcontrol_bind_io()
Tip revision: 5406898
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
back to top