]> Gentwo Git Trees - linux/.git/commit
kbuild: unify W=e and CONFIG_WERROR
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 14 Aug 2025 10:14:42 +0000 (12:14 +0200)
committerNathan Chancellor <nathan@kernel.org>
Thu, 14 Aug 2025 18:21:07 +0000 (11:21 -0700)
commite7a10929c574cf30981a8e19ef39bc35e63e8b46
treec29a862d7030f5726323bec5c49e0148fedf90da
parentf852ce052a8b78d6fade371bd1fad583541e78fa
kbuild: unify W=e and CONFIG_WERROR

The two mechanisms have the same effect, unify their implementation.

Also avoid spurious rebuilds when switching between the two.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://lore.kernel.org/r/20250814-kbuild-werror-v2-2-c01e596309d2@linutronix.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
scripts/Makefile.extrawarn