kbuild: replace genhdr-y with generated-y
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 9 Jun 2017 08:29:52 +0000 (17:29 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Jun 2017 23:55:21 +0000 (08:55 +0900)
commitae3f4151737d2aad271e5b1f2553c5d56e52850c
treeac9ed68292a09878c36b5cd362c9f46c3725161a
parentbfb38988c51e440fd7062ddf3157f7d8b1dd5d70
kbuild: replace genhdr-y with generated-y

Originally, generated-y and genhdr-y had different meaning, like
follows:

- generated-y: generated headers (other than asm-generic wrappers)
- header-y   : headers to be exported
- genhdr-y   : generated headers to be exported (generated-y + header-y)

Since commit fcc8487d477a ("uapi: export all headers under uapi
directories"), headers under UAPI directories are all exported.
So, there is no more difference between generated-y and genhdr-y.

We see two users of genhdr-y, arch/{arm,x86}/include/uapi/asm/Kbuild.
They generate some headers in arch/{arm,x86}/include/generated/uapi/asm
directories, which are obviously exported.

Replace them with generated-y, and abolish genhdr-y.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Documentation/kbuild/makefiles.txt
arch/arm/include/uapi/asm/Kbuild
arch/x86/include/uapi/asm/Kbuild
scripts/Makefile.asm-generic