Skip to contentSkip to conversation

doc: fix headers_install.txt

PATCH New Francois-Xavier Le Bail 1 participant 1 message Jan 28, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix headers_install.txt

- The default location for installed headers is : ./usr
- Using INSTALL_HDR_PATH=/usr/include give /usr/include/include

---
 Documentation/make/headers_install.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/make/headers_install.txt +2 -2
index 951eb9f..b6c16bc 100644
@@ -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
 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
 current architecture.  The linux/asm directory of the exported kernel headers
@@ -34,7 +34,7 @@ the command:
   ls -d include/asm-* | sed 's/.*-//'
 
 INSTALL_HDR_PATH indicates where to install the headers.  It defaults to
-"./usr/include".
+"./usr".
 
 The command "make headers_install_all" exports headers for all architectures
 simultaneously.  (This is mostly of interest to distribution maintainers,