Makefile | 3 --- 1 file changed, 3 deletions(-)
Commit e27128db6283 ("kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to
KBUILD_EXTRA_WARN") renamed KBUILD_ENABLE_EXTRA_GCC_CHECKS in 2019.
The migration in downstream code should be complete.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
Makefile | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Makefile b/Makefile
index 96407c1d6be1..3c1b012a156f 100644
--- a/Makefile
+++ b/Makefile
@@ -151,9 +151,6 @@ endif
export KBUILD_EXTMOD
-# backward compatibility
-KBUILD_EXTRA_WARN ?= $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)
-
ifeq ("$(origin W)", "command line")
KBUILD_EXTRA_WARN := $(W)
endif
--
2.43.0
On Mon, Feb 17, 2025 at 08:36:48PM +0900, Masahiro Yamada wrote:
> Commit e27128db6283 ("kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to
> KBUILD_EXTRA_WARN") renamed KBUILD_ENABLE_EXTRA_GCC_CHECKS in 2019.
> The migration in downstream code should be complete.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Seems reasonable.
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
> ---
>
> Makefile | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 96407c1d6be1..3c1b012a156f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -151,9 +151,6 @@ endif
>
> export KBUILD_EXTMOD
>
> -# backward compatibility
> -KBUILD_EXTRA_WARN ?= $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)
> -
> ifeq ("$(origin W)", "command line")
> KBUILD_EXTRA_WARN := $(W)
> endif
> --
> 2.43.0
>
© 2016 - 2025 Red Hat, Inc.