]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
sparc: move generic-y of exported headers to uapi/asm/Kbuild
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 9 Jul 2017 18:32:54 +0000 (03:32 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Jul 2017 12:33:52 +0000 (21:33 +0900)
Since commit fcc8487d477a ("uapi: export all headers under uapi
directories"), all (and only) headers under uapi directories are
exported, but asm-generic wrappers are still exceptions.

To complete de-coupling the uapi from kernel headers, move generic-y
of exported headers to uapi/asm/Kbuild.

With this change, "make headers_install" will just need to parse
uapi/asm/Kbuild to build up exported headers.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/sparc/include/asm/Kbuild
arch/sparc/include/uapi/asm/Kbuild

index e9e837bc3158c93c426c7f2a1716f0abea9e640d..80ddc01f57ac347957a2e05348ada69ca47e226f 100644 (file)
@@ -18,5 +18,4 @@ generic-y += preempt.h
 generic-y += rwsem.h
 generic-y += serial.h
 generic-y += trace_clock.h
-generic-y += types.h
 generic-y += word-at-a-time.h
index b15bf6bc0e94f46f035e8781ffa921060341fe91..2178c78c7c1a6336d4a11c9619de521519245c0e 100644 (file)
@@ -1,2 +1,4 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
+
+generic-y += types.h