Skip to contentSkip to conversation

kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support

PATCH In review Masahiro Yamada 2 participants 2 messages Feb 17, 2025 – Feb 18, 2025 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support

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.

---

 Makefile | 3 ---
 1 file changed, 3 deletions(-)
Makefile +0 -3
index 96407c1d6be1..3c1b012a156f 100644
@@ -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
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Masahiro Yamada

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.

Seems reasonable.

Quoted 22 lines

---

 Makefile | 3 ---
 1 file changed, 3 deletions(-)
Makefile +0 -3
index 96407c1d6be1..3c1b012a156f 100644
@@ -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
Signature · 1 line
2.43.0