m32r: move generic-y of exported headers to uapi/asm/Kbuild
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 9 Jul 2017 18:32:45 +0000 (03:32 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 9 Jul 2017 18:43:28 +0000 (03:43 +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.

Also, move "generic-y += kprobes.h" up in order to keep the entries
sorted.

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

index c000ffa..7e11b12 100644 (file)
@@ -1,10 +1,9 @@
-
 generic-y += clkdev.h
 generic-y += current.h
 generic-y += exec.h
 generic-y += extable.h
 generic-y += irq_work.h
-generic-y += kvm_para.h
+generic-y += kprobes.h
 generic-y += mcs_spinlock.h
 generic-y += mm-arch-hooks.h
 generic-y += module.h
@@ -12,4 +11,3 @@ generic-y += preempt.h
 generic-y += sections.h
 generic-y += trace_clock.h
 generic-y += word-at-a-time.h
-generic-y += kprobes.h
index c94ee54..1c44d3b 100644 (file)
@@ -1,4 +1,5 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
 
-generic-y      += siginfo.h
+generic-y += kvm_para.h
+generic-y += siginfo.h