]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6177be1d87e319046d094e54c94ad88f468807ed
tree27a7e9d0c78f41bfbc4251772b99a63019fea867
parent20d527e148caa0342b75a096c4ba477fca3deb5d
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