kbuild: introduce HDR_ARCH_LIST for headers_install_all

Using HDR_ARCH_LIST you can specify subset of architectures you want to get
headers for.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
Kirill A. Shutemov 2010-12-13 19:10:28 +02:00 committed by Michal Marek
parent 8990c1bc4b
commit f6820308e0
2 changed files with 4 additions and 3 deletions

View file

@ -13,7 +13,7 @@ do_command()
fi
}
archs=$(ls ${srctree}/arch)
archs=${HDR_ARCH_LIST:-$(ls ${srctree}/arch)}
for arch in ${archs}; do
case ${arch} in