public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* can we use mandatory-y for non-uapi headers?
@ 2019-08-10  7:52 Christoph Hellwig
  2019-08-12 15:41 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2019-08-10  7:52 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: linux-kbuild, linux-kernel

Hi Masahiro,

what is the reason that the documentation says mandatory-y should only
be used for uapi headers?  If would also be very useful for normal
asm-generic headers where most people use the generic version and we
only have a few overrides.  Two headers that immediately come to mind
are dma-mapping.h, or msi.h.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can we use mandatory-y for non-uapi headers?
  2019-08-10  7:52 can we use mandatory-y for non-uapi headers? Christoph Hellwig
@ 2019-08-12 15:41 ` Masahiro Yamada
  2019-08-12 18:00   ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2019-08-12 15:41 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Linux Kbuild mailing list, Linux Kernel Mailing List

Christoph,


On Sat, Aug 10, 2019 at 4:52 PM Christoph Hellwig <hch@lst.de> wrote:
>
> Hi Masahiro,
>
> 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




-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can we use mandatory-y for non-uapi headers?
  2019-08-12 15:41 ` Masahiro Yamada
@ 2019-08-12 18:00   ` Christoph Hellwig
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2019-08-12 18:00 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Christoph Hellwig, Linux Kbuild mailing list,
	Linux Kernel Mailing List

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-12 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-10  7:52 can we use mandatory-y for non-uapi headers? Christoph Hellwig
2019-08-12 15:41 ` Masahiro Yamada
2019-08-12 18:00   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox