mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 13:21:45 +00:00
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:
parent
8990c1bc4b
commit
f6820308e0
2 changed files with 4 additions and 3 deletions
|
@ -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
|
The command "make headers_install_all" exports headers for all architectures
|
||||||
simultaneously. (This is mostly of interest to distribution maintainers,
|
simultaneously. (This is mostly of interest to distribution maintainers,
|
||||||
who create an architecture-independent tarball from the resulting include
|
who create an architecture-independent tarball from the resulting include
|
||||||
directory.) Remember to provide the appropriate linux/asm directory via "mv"
|
directory.) You also can use HDR_ARCH_LIST to specify list of architectures.
|
||||||
or "ln -s" before building a C library with headers exported this way.
|
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
|
The kernel header export infrastructure is maintained by David Woodhouse
|
||||||
<dwmw2@infradead.org>.
|
<dwmw2@infradead.org>.
|
||||||
|
|
|
@ -13,7 +13,7 @@ do_command()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
archs=$(ls ${srctree}/arch)
|
archs=${HDR_ARCH_LIST:-$(ls ${srctree}/arch)}
|
||||||
|
|
||||||
for arch in ${archs}; do
|
for arch in ${archs}; do
|
||||||
case ${arch} in
|
case ${arch} in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue