diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-07-09 14:32:56 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-07-11 08:33:52 -0400 |
commit | ee73056bee8ed47ba12de56ab83bcbe1a0618926 (patch) | |
tree | 2a86007fc7f0927e539c434e55b5b0fbb35b6c07 | |
parent | c44e27181f8217bdab6f8ad25d34c68c26fbabb4 (diff) |
unicore32: 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.
Also, move "generic-y += kprobes.h" up in order to keep the entries
sorted.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | arch/unicore32/include/asm/Kbuild | 30 | ||||
-rw-r--r-- | arch/unicore32/include/uapi/asm/Kbuild | 27 |
2 files changed, 28 insertions, 29 deletions
diff --git a/arch/unicore32/include/asm/Kbuild b/arch/unicore32/include/asm/Kbuild index 7a53a55341de..fda7e2153086 100644 --- a/arch/unicore32/include/asm/Kbuild +++ b/arch/unicore32/include/asm/Kbuild | |||
@@ -1,66 +1,38 @@ | |||
1 | |||
2 | generic-y += atomic.h | 1 | generic-y += atomic.h |
3 | generic-y += auxvec.h | ||
4 | generic-y += bitsperlong.h | ||
5 | generic-y += bugs.h | 2 | generic-y += bugs.h |
6 | generic-y += clkdev.h | 3 | generic-y += clkdev.h |
7 | generic-y += current.h | 4 | generic-y += current.h |
8 | generic-y += device.h | 5 | generic-y += device.h |
9 | generic-y += div64.h | 6 | generic-y += div64.h |
10 | generic-y += emergency-restart.h | 7 | generic-y += emergency-restart.h |
11 | generic-y += errno.h | ||
12 | generic-y += exec.h | 8 | generic-y += exec.h |
13 | generic-y += extable.h | 9 | generic-y += extable.h |
14 | generic-y += fb.h | 10 | generic-y += fb.h |
15 | generic-y += fcntl.h | ||
16 | generic-y += ftrace.h | 11 | generic-y += ftrace.h |
17 | generic-y += futex.h | 12 | generic-y += futex.h |
18 | generic-y += hardirq.h | 13 | generic-y += hardirq.h |
19 | generic-y += hw_irq.h | 14 | generic-y += hw_irq.h |
20 | generic-y += ioctl.h | ||
21 | generic-y += ioctls.h | ||
22 | generic-y += ipcbuf.h | ||
23 | generic-y += irq_regs.h | 15 | generic-y += irq_regs.h |
24 | generic-y += irq_work.h | 16 | generic-y += irq_work.h |
25 | generic-y += kdebug.h | 17 | generic-y += kdebug.h |
26 | generic-y += kmap_types.h | 18 | generic-y += kmap_types.h |
19 | generic-y += kprobes.h | ||
27 | generic-y += local.h | 20 | generic-y += local.h |
28 | generic-y += mcs_spinlock.h | 21 | generic-y += mcs_spinlock.h |
29 | generic-y += mm-arch-hooks.h | 22 | generic-y += mm-arch-hooks.h |
30 | generic-y += mman.h | ||
31 | generic-y += module.h | 23 | generic-y += module.h |
32 | generic-y += msgbuf.h | ||
33 | generic-y += param.h | ||
34 | generic-y += parport.h | 24 | generic-y += parport.h |
35 | generic-y += percpu.h | 25 | generic-y += percpu.h |
36 | generic-y += poll.h | ||
37 | generic-y += posix_types.h | ||
38 | generic-y += preempt.h | 26 | generic-y += preempt.h |
39 | generic-y += resource.h | ||
40 | generic-y += sections.h | 27 | generic-y += sections.h |
41 | generic-y += segment.h | 28 | generic-y += segment.h |
42 | generic-y += sembuf.h | ||
43 | generic-y += serial.h | 29 | generic-y += serial.h |
44 | generic-y += setup.h | ||
45 | generic-y += shmbuf.h | ||
46 | generic-y += shmparam.h | ||
47 | generic-y += signal.h | ||
48 | generic-y += sizes.h | 30 | generic-y += sizes.h |
49 | generic-y += socket.h | ||
50 | generic-y += sockios.h | ||
51 | generic-y += stat.h | ||
52 | generic-y += statfs.h | ||
53 | generic-y += swab.h | ||
54 | generic-y += syscalls.h | 31 | generic-y += syscalls.h |
55 | generic-y += termbits.h | ||
56 | generic-y += termios.h | ||
57 | generic-y += topology.h | 32 | generic-y += topology.h |
58 | generic-y += trace_clock.h | 33 | generic-y += trace_clock.h |
59 | generic-y += types.h | ||
60 | generic-y += ucontext.h | ||
61 | generic-y += unaligned.h | 34 | generic-y += unaligned.h |
62 | generic-y += user.h | 35 | generic-y += user.h |
63 | generic-y += vga.h | 36 | generic-y += vga.h |
64 | generic-y += word-at-a-time.h | 37 | generic-y += word-at-a-time.h |
65 | generic-y += xor.h | 38 | generic-y += xor.h |
66 | generic-y += kprobes.h | ||
diff --git a/arch/unicore32/include/uapi/asm/Kbuild b/arch/unicore32/include/uapi/asm/Kbuild index 1c44d3b3eba0..759a71411169 100644 --- a/arch/unicore32/include/uapi/asm/Kbuild +++ b/arch/unicore32/include/uapi/asm/Kbuild | |||
@@ -1,5 +1,32 @@ | |||
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 += auxvec.h | ||
5 | generic-y += bitsperlong.h | ||
6 | generic-y += errno.h | ||
7 | generic-y += fcntl.h | ||
8 | generic-y += ioctl.h | ||
9 | generic-y += ioctls.h | ||
10 | generic-y += ipcbuf.h | ||
4 | generic-y += kvm_para.h | 11 | generic-y += kvm_para.h |
12 | generic-y += mman.h | ||
13 | generic-y += msgbuf.h | ||
14 | generic-y += param.h | ||
15 | generic-y += poll.h | ||
16 | generic-y += posix_types.h | ||
17 | generic-y += resource.h | ||
18 | generic-y += sembuf.h | ||
19 | generic-y += setup.h | ||
20 | generic-y += shmbuf.h | ||
21 | generic-y += shmparam.h | ||
5 | generic-y += siginfo.h | 22 | generic-y += siginfo.h |
23 | generic-y += signal.h | ||
24 | generic-y += socket.h | ||
25 | generic-y += sockios.h | ||
26 | generic-y += stat.h | ||
27 | generic-y += statfs.h | ||
28 | generic-y += swab.h | ||
29 | generic-y += termbits.h | ||
30 | generic-y += termios.h | ||
31 | generic-y += types.h | ||
32 | generic-y += ucontext.h | ||