Re: [PATCH] kbuild: replace genhdr-y with generated-y, deprecating genhdr-y

From: Masahiro Yamada
Date: Wed Jun 21 2017 - 21:19:12 EST


2017-06-09 17:29 GMT+09:00 Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>:
> Prior to commit fcc8487d477a ("uapi: export all headers under uapi
> directories"), genhdr-y was meant to specify generated UAPI headers.
>
> - 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)
>
> Now 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/uapi/generated/
> directories, which are obviously exported.
>
> Replace genhdr-y with generated-y, and deprecate genhdr-y.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

Applied to linux-kbuild/kbuild.



--
Best Regards
Masahiro Yamada