kbuild: move W=1 check for scripts/misc-check to top-level Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 1 Jun 2025 13:31:27 +0000 (22:31 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 5 Jun 2025 20:40:25 +0000 (05:40 +0900)
commit89e7fecf5ce2e85a323e58f09aa808218a37079a
treece02f8da36f89cd0076cc4947d89f2fccb13ed65
parenta503a313108e26402151f25c1f2628ec91bda605
kbuild: move W=1 check for scripts/misc-check to top-level Makefile

This script is executed only when ${KBUILD_EXTRA_WARN} contains 1.
Move this check to the top-level Makefile to allow more checks to be
easily added to this script.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Makefile
scripts/misc-check