Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed45d403 authored by Anish Bhatt's avatar Anish Bhatt Committed by Jonathan Corbet
Browse files

kbuild : Fix documentation of INSTALL_HDR_PATH



The header install makefile creates an 'include' directory inside
INSTALL_HDR_PATH and appending include to the path results in headers
being installed to include/include.

Don't recommend appending include to the path as makefile already does
this.

Signed-off-by: default avatarAnish Bhatt <anish@chelsio.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent f8785d94
Loading
Loading
Loading
Loading
+6 −3
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ The "make headers_install" command can be run in the top level directory of the
kernel source code (or using a standard out-of-tree build).  It takes two
kernel source code (or using a standard out-of-tree build).  It takes two
optional arguments:
optional arguments:


  make headers_install ARCH=i386 INSTALL_HDR_PATH=/usr/include
  make headers_install ARCH=i386 INSTALL_HDR_PATH=/usr


ARCH indicates which architecture to produce headers for, and defaults to the
ARCH indicates which architecture to produce headers for, and defaults to the
current architecture.  The linux/asm directory of the exported kernel headers
current architecture.  The linux/asm directory of the exported kernel headers
@@ -34,7 +34,10 @@ the command:
  ls -d include/asm-* | sed 's/.*-//'
  ls -d include/asm-* | sed 's/.*-//'


INSTALL_HDR_PATH indicates where to install the headers. It defaults to
INSTALL_HDR_PATH indicates where to install the headers. It defaults to
"./usr/include".
"./usr".

An 'include' directory is automatically created inside INSTALL_HDR_PATH and
headers are installed in 'INSTALL_HDR_PATH/include'.


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,