]> 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)
commite3f7f45bf36e5fe5b86cd0b718f0b88b01b5a4fa
tree27a7e9d0c78f41bfbc4251772b99a63019fea867
parent7952384771d28acf3a2e59e7e19595e6dca1c650
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