aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/kconfig/kconfig.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-09-26 19:50:40 +0200
committerTaras Madan <tarasmadan@google.com>2025-10-01 09:09:34 +0000
commit3af396446cf285a1a30c9a1151d47c3aea4aecae (patch)
tree5d856849495fb048a3e268e5327736ba625a0866 /pkg/kconfig/kconfig.go
parent65a0eece8b50b1e2fac47dce4b422ec459ff7825 (diff)
pkg/kconfig: support transitional line
See https://www.phoronix.com/news/Linux-6.18-Transitional . First used in: config CFI_CLANG bool transitional help Transitional config for CFI_CLANG to CFI migration.
Diffstat (limited to 'pkg/kconfig/kconfig.go')
-rw-r--r--pkg/kconfig/kconfig.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/kconfig/kconfig.go b/pkg/kconfig/kconfig.go
index 15dc0d22a..668419baf 100644
--- a/pkg/kconfig/kconfig.go
+++ b/pkg/kconfig/kconfig.go
@@ -337,6 +337,10 @@ func (kp *kconfigParser) parseProperty(prop string) {
kp.ConsumeLine()
case "modules":
case "optional":
+ // transitional is used for the configs backward compatibility.
+ // We can ignore them. After the config final removal we'll see the kconf error.
+ // https://www.phoronix.com/news/Linux-6.18-Transitional
+ case "transitional":
case "default":
kp.parseDefaultValue()
case "range":