From c469ca75b60227265ac3990469195f1238b4acb9 Mon Sep 17 00:00:00 2001 From: "Kirill A. Shutemov" Date: Mon, 13 Dec 2010 19:10:28 +0200 Subject: [PATCH] --- yaml --- r: 227645 b: refs/heads/master c: f6820308e025d645d9d766c97586badd4ddb8754 h: refs/heads/master i: 227643: c8211238476a66dc9c1b24066e21e2033d277dac v: v3 --- [refs] | 2 +- trunk/Documentation/make/headers_install.txt | 5 +++-- trunk/scripts/headers.sh | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 393a4f08f59b..7daec7e9be43 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8990c1bc4be46473ad19bf2fa612ca57286f3df4 +refs/heads/master: f6820308e025d645d9d766c97586badd4ddb8754 diff --git a/trunk/Documentation/make/headers_install.txt b/trunk/Documentation/make/headers_install.txt index f2481cabffcb..951eb9f1e040 100644 --- a/trunk/Documentation/make/headers_install.txt +++ b/trunk/Documentation/make/headers_install.txt @@ -39,8 +39,9 @@ INSTALL_HDR_PATH indicates where to install the headers. It defaults to The command "make headers_install_all" exports headers for all architectures simultaneously. (This is mostly of interest to distribution maintainers, who create an architecture-independent tarball from the resulting include -directory.) Remember to provide the appropriate linux/asm directory via "mv" -or "ln -s" before building a C library with headers exported this way. +directory.) You also can use HDR_ARCH_LIST to specify list of architectures. +Remember to provide the appropriate linux/asm directory via "mv" or "ln -s" +before building a C library with headers exported this way. The kernel header export infrastructure is maintained by David Woodhouse . diff --git a/trunk/scripts/headers.sh b/trunk/scripts/headers.sh index 1ddcdd38d97f..978b42b3acd7 100755 --- a/trunk/scripts/headers.sh +++ b/trunk/scripts/headers.sh @@ -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