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 <ch...@chris-wilson.co.uk> > Cc: Masahiro Yamada <yamada.masah...@socionext.com> > Cc: Michal Marek <michal.l...@markovi.net> > Cc: Sam Ravnborg <s...@ravnborg.org> > Signed-off-by: Jani Nikula <jani.nik...@intel.com>
Looks good, thanks. Reviewed-by: Sam Ravnborg <s...@ravnborg.org>