kbuild: run the checker after the compiler
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 22 Jun 2020 15:45:12 +0000 (17:45 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 7 Jul 2020 02:13:10 +0000 (11:13 +0900)
commit0c33f125732d0d33392ba6774d85469d565d3496
tree27a7e9d0c78f41bfbc4251772b99a63019fea867
parentdcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258
kbuild: run the checker after the compiler

Since the pre-git time the checker is run first, before the compiler.
But if the source file contains some syntax error, the warnings from
the compiler are more useful than those from sparse (and other
checker most probably too).

So move the 'check' command to run after the compiler.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.build