[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <60fe1d123c535a2f79841649b7f950de1863e63d.1410712841.git.ydroneaud@opteya.com>
Date: Sun, 14 Sep 2014 22:27:01 +0200
From: Yann Droneaud <ydroneaud@...eya.com>
To: linux-kernel@...r.kernel.org
Cc: Yann Droneaud <ydroneaud@...eya.com>,
"Kirill A. Shutemov" <kirill@...temov.name>,
Michal Marek <mmarek@...e.cz>,
David Woodhouse <dwmw2@...radead.org>,
Rob Landley <rob@...dley.net>, Sam Ravnborg <sam@...nborg.org>
Subject: [PATCHv2 2/2] Documentation/kbuild/headers_install.txt: update installation paths
Documentation in kbuild/headers_install.txt is not up to date
regarding paths where the headers are installed.
This patch fixes the documention with the correct information.
Link: http://lkml.kernel.org/r/cover.1410712841.git.ydroneaud@opteya.com
Cc: Kirill A. Shutemov <kirill@...temov.name>
Cc: Michal Marek <mmarek@...e.cz>
Cc: David Woodhouse <dwmw2@...radead.org>
Cc: Rob Landley <rob@...dley.net>
Cc: Sam Ravnborg <sam@...nborg.org>
Signed-off-by: Yann Droneaud <ydroneaud@...eya.com>
---
Documentation/kbuild/headers_install.txt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/kbuild/headers_install.txt b/Documentation/kbuild/headers_install.txt
index 0d8fe5e871c4..72ed4d1bd408 100644
--- a/Documentation/kbuild/headers_install.txt
+++ b/Documentation/kbuild/headers_install.txt
@@ -24,20 +24,20 @@ 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
+current architecture. Note: the asm/ directory of the exported kernel headers
is platform-specific.
-INSTALL_HDR_PATH indicates where to install the headers. It defaults to
-"./usr/include".
+INSTALL_HDR_PATH indicates where to create include/ directory to install the
+headers. It defaults to "./usr/".
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.) 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"
+Remember to provide the appropriate 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
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists