kbuild: move headers_check rule to usr/include/Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 7 Nov 2019 07:14:41 +0000 (16:14 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 14 Nov 2019 15:23:10 +0000 (00:23 +0900)
commit7ecaf069da52e472d393f03e79d721aabd724166
tree0aabe2dfa13aca24aeca81dc652d0dbcada18658
parentfcbb8461fd2376ba3782b5b8bd440c929b8e4980
kbuild: move headers_check rule to usr/include/Makefile

Currently, some sanity checks for uapi headers are done by
scripts/headers_check.pl, which is wired up to the 'headers_check'
target in the top Makefile.

It is true compiling headers has better test coverage, but there
are still several headers excluded from the compile test. I like
to keep headers_check.pl for a while, but we can delete a lot of
code by moving the build rule to usr/include/Makefile.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile
lib/Kconfig.debug
scripts/Makefile.headersinst
usr/include/Makefile