Re: can we use mandatory-y for non-uapi headers?
From: Christoph Hellwig
Date: Mon Aug 12 2019 - 14:00:32 EST
On Tue, Aug 13, 2019 at 12:41:20AM +0900, Masahiro Yamada wrote:
> > what is the reason that the documentation says mandatory-y should only
> > be used for uapi headers?
>
> Where is it documented?
>
> Documentation/kbuild/makefiles.rst section 7.4 describes
> mandatory-y is essentially used by include/(uapi/)asm-generic/Kbuild
>
> include/(uapi/)asm-generic/Kbuild means:
>
> include/uapi/asm-generic/Kbuild
> include/asm-generic/Kbuild
Ok, maybe it was just me misreading the documentation. In that
case I'll start submitting patches to use it more.