diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-03 16:45:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-03 16:45:43 -0400 |
commit | 9b2e077c42a97fcbdc0dd71edb1fc9d15c74ad29 (patch) | |
tree | 20bf301d21f6c3776046acada5070630009ceedb /Documentation | |
parent | a54dfb1a845c38a97686268d8c4086a63d9493aa (diff) | |
parent | 10b63956fce7f369cc37fd4d994f09bd5203efe4 (diff) |
Merge tag 'uapi-prep-20121002' of git://git.infradead.org/users/dhowells/linux-headers
Pull preparatory patches for user API disintegration from David Howells:
"The patches herein prepare for the extraction of the Userspace API
bits from the various header files named in the Kbuild files.
New subdirectories are created under either include/uapi/ or
arch/x/include/uapi/ that correspond to the subdirectory containing
that file under include/ or arch/x/include/.
The new subdirs under the uapi/ directory are populated with Kbuild
files that mostly do nothing at this time. Further patches will
disintegrate the headers in each original directory and fill in the
Kbuild files as they do it.
These patches also:
(1) fix up #inclusions of "foo.h" rather than <foo.h>.
(2) Remove some redundant #includes from the DRM code.
(3) Make the kernel build infrastructure handle Kbuild files both in
the old places and the new UAPI place that both specify headers
to be exported.
(4) Fix some kernel tools that #include kernel headers during their
build.
I have compile tested this with allyesconfig against x86_64,
allmodconfig against i386 and a scattering of additional defconfigs of
other arches. Prepared for main script
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>"
* tag 'uapi-prep-20121002' of git://git.infradead.org/users/dhowells/linux-headers:
UAPI: Plumb the UAPI Kbuilds into the user header installation and checking
UAPI: x86: Differentiate the generated UAPI and internal headers
UAPI: Remove the objhdr-y export list
UAPI: Move linux/version.h
UAPI: Set up uapi/asm/Kbuild.asm
UAPI: x86: Fix insn_sanity build failure after UAPI split
UAPI: x86: Fix the test_get_len tool
UAPI: (Scripted) Set up UAPI Kbuild files
UAPI: Partition the header include path sets and add uapi/ header directories
UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers
UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/
UAPI: (Scripted) Remove redundant DRM UAPI header #inclusions from drivers/gpu/.
UAPI: Refer to the DRM UAPI headers with <...> and from certain headers only
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kbuild/makefiles.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index ab0a984530d8..ec9ae6708691 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt | |||
@@ -45,7 +45,7 @@ This document describes the Linux kernel Makefiles. | |||
45 | 45 | ||
46 | === 7 Kbuild syntax for exported headers | 46 | === 7 Kbuild syntax for exported headers |
47 | --- 7.1 header-y | 47 | --- 7.1 header-y |
48 | --- 7.2 objhdr-y | 48 | --- 7.2 genhdr-y |
49 | --- 7.3 destination-y | 49 | --- 7.3 destination-y |
50 | --- 7.4 generic-y | 50 | --- 7.4 generic-y |
51 | 51 | ||
@@ -1282,15 +1282,15 @@ See subsequent chapter for the syntax of the Kbuild file. | |||
1282 | 1282 | ||
1283 | Subdirectories are visited before their parent directories. | 1283 | Subdirectories are visited before their parent directories. |
1284 | 1284 | ||
1285 | --- 7.2 objhdr-y | 1285 | --- 7.2 genhdr-y |
1286 | 1286 | ||
1287 | objhdr-y specifies generated files to be exported. | 1287 | genhdr-y specifies generated files to be exported. |
1288 | Generated files are special as they need to be looked | 1288 | Generated files are special as they need to be looked |
1289 | up in another directory when doing 'make O=...' builds. | 1289 | up in another directory when doing 'make O=...' builds. |
1290 | 1290 | ||
1291 | Example: | 1291 | Example: |
1292 | #include/linux/Kbuild | 1292 | #include/linux/Kbuild |
1293 | objhdr-y += version.h | 1293 | genhdr-y += version.h |
1294 | 1294 | ||
1295 | --- 7.3 destination-y | 1295 | --- 7.3 destination-y |
1296 | 1296 | ||