linux/Documentation
Jani Nikula e846f0dc57 kbuild: add support for ensuring headers are self-contained
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.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-06-15 19:57:02 +09:00
..
2019-05-14 19:52:48 -07:00
2019-05-07 18:02:51 -07:00
2019-05-16 11:57:16 -07:00
2018-10-25 06:50:48 -07:00
2018-12-18 16:13:04 +01:00
2019-05-08 17:13:35 -07:00
2019-04-08 14:13:43 +07:00
2019-02-22 08:50:17 -07:00
2019-05-21 10:11:19 +02:00
2019-05-24 09:09:32 -06:00
2019-05-09 08:40:55 -07:00
2019-03-10 12:47:57 -07:00