diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-07-09 14:32:53 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-07-11 08:33:51 -0400 |
commit | 895931232d9358e0016f580f26b336c29c9528cc (patch) | |
tree | 4cf0347fd186d44cafe76839605b4954ab7d120d | |
parent | bd78acad8e866e1167f9de97c9b090ee6c2c96a7 (diff) |
sh: move generic-y of exported headers to uapi/asm/Kbuild
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>
-rw-r--r-- | arch/sh/include/asm/Kbuild | 19 | ||||
-rw-r--r-- | arch/sh/include/uapi/asm/Kbuild | 18 |
2 files changed, 18 insertions, 19 deletions
diff --git a/arch/sh/include/asm/Kbuild b/arch/sh/include/asm/Kbuild index 590c91ae7541..1a6f9c39feef 100644 --- a/arch/sh/include/asm/Kbuild +++ b/arch/sh/include/asm/Kbuild | |||
@@ -1,39 +1,20 @@ | |||
1 | |||
2 | generic-y += bitsperlong.h | ||
3 | generic-y += clkdev.h | 1 | generic-y += clkdev.h |
4 | generic-y += current.h | 2 | generic-y += current.h |
5 | generic-y += delay.h | 3 | generic-y += delay.h |
6 | generic-y += div64.h | 4 | generic-y += div64.h |
7 | generic-y += emergency-restart.h | 5 | generic-y += emergency-restart.h |
8 | generic-y += errno.h | ||
9 | generic-y += exec.h | 6 | generic-y += exec.h |
10 | generic-y += fcntl.h | ||
11 | generic-y += ioctl.h | ||
12 | generic-y += ipcbuf.h | ||
13 | generic-y += irq_regs.h | 7 | generic-y += irq_regs.h |
14 | generic-y += irq_work.h | 8 | generic-y += irq_work.h |
15 | generic-y += kvm_para.h | ||
16 | generic-y += local.h | 9 | generic-y += local.h |
17 | generic-y += local64.h | 10 | generic-y += local64.h |
18 | generic-y += mcs_spinlock.h | 11 | generic-y += mcs_spinlock.h |
19 | generic-y += mm-arch-hooks.h | 12 | generic-y += mm-arch-hooks.h |
20 | generic-y += mman.h | ||
21 | generic-y += msgbuf.h | ||
22 | generic-y += param.h | ||
23 | generic-y += parport.h | 13 | generic-y += parport.h |
24 | generic-y += percpu.h | 14 | generic-y += percpu.h |
25 | generic-y += poll.h | ||
26 | generic-y += preempt.h | 15 | generic-y += preempt.h |
27 | generic-y += resource.h | ||
28 | generic-y += rwsem.h | 16 | generic-y += rwsem.h |
29 | generic-y += sembuf.h | ||
30 | generic-y += serial.h | 17 | generic-y += serial.h |
31 | generic-y += shmbuf.h | ||
32 | generic-y += sizes.h | 18 | generic-y += sizes.h |
33 | generic-y += socket.h | ||
34 | generic-y += statfs.h | ||
35 | generic-y += termbits.h | ||
36 | generic-y += termios.h | ||
37 | generic-y += trace_clock.h | 19 | generic-y += trace_clock.h |
38 | generic-y += ucontext.h | ||
39 | generic-y += xor.h | 20 | generic-y += xor.h |
diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild index b55fc2ae1e8c..e28531333efa 100644 --- a/arch/sh/include/uapi/asm/Kbuild +++ b/arch/sh/include/uapi/asm/Kbuild | |||
@@ -1,4 +1,22 @@ | |||
1 | # UAPI Header export list | 1 | # UAPI Header export list |
2 | include include/uapi/asm-generic/Kbuild.asm | 2 | include include/uapi/asm-generic/Kbuild.asm |
3 | 3 | ||
4 | generic-y += bitsperlong.h | ||
5 | generic-y += errno.h | ||
6 | generic-y += fcntl.h | ||
7 | generic-y += ioctl.h | ||
8 | generic-y += ipcbuf.h | ||
9 | generic-y += kvm_para.h | ||
10 | generic-y += mman.h | ||
11 | generic-y += msgbuf.h | ||
12 | generic-y += param.h | ||
13 | generic-y += poll.h | ||
14 | generic-y += resource.h | ||
15 | generic-y += sembuf.h | ||
16 | generic-y += shmbuf.h | ||
4 | generic-y += siginfo.h | 17 | generic-y += siginfo.h |
18 | generic-y += socket.h | ||
19 | generic-y += statfs.h | ||
20 | generic-y += termbits.h | ||
21 | generic-y += termios.h | ||
22 | generic-y += ucontext.h | ||