[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAQ_FxSK=TBvcmKsGEK2jB+rGE7uLqjaNYmKBsCPp8X0Gg@mail.gmail.com>
Date: Wed, 19 Jun 2019 00:45:22 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Sam Ravnborg <sam@...nborg.org>,
Jani Nikula <jani.nikula@...el.com>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Randy Dunlap <rdunlap@...radead.org>,
Arnd Bergmann <arnd@...db.de>,
David Howells <dhowells@...hat.com>,
Chris Wilson <chris@...is-wilson.co.uk>,
Michal Marek <michal.lkml@...kovi.net>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jonathan Corbet <corbet@....net>
Subject: Re: [PATCH v2] kbuild: add support for ensuring headers are self-contained
On Wed, Jun 5, 2019 at 2:26 AM Sam Ravnborg <sam@...nborg.org> wrote:
>
> On Tue, Jun 04, 2019 at 03:42:48PM +0300, Jani Nikula wrote:
> > Sometimes it's useful to be able to explicitly ensure certain headers
> > remain self-contained, i.e. that they are compilable as standalone
> > units, by including and/or forward declaring everything they depend on.
> >
> > Add special target header-test-y where individual Makefiles can add
> > headers to be tested if CONFIG_HEADER_TEST is enabled. This will
> > generate a dummy C file per header that gets built as part of extra-y.
> >
> > Cc: Chris Wilson <chris@...is-wilson.co.uk>
> > Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>
> > Cc: Michal Marek <michal.lkml@...kovi.net>
> > Cc: Sam Ravnborg <sam@...nborg.org>
> > Signed-off-by: Jani Nikula <jani.nikula@...el.com>
>
> Looks good, thanks.
>
> Reviewed-by: Sam Ravnborg <sam@...nborg.org>
>
Applied to linux-kbuild.
Thanks.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists