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

Masahiro Yamada yamada.masahiro at socionext.com
Fri Jun 9 01:35:13 PDT 2017


2017-06-09 17:29 GMT+09:00 Masahiro Yamada <yamada.masahiro at socionext.com>:
> 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/

The correct path is arch/{arm,x86}/include/generated/uapi/

I will fix it.



-- 
Best Regards
Masahiro Yamada



More information about the linux-arm-kernel mailing list