Skip to contentSkip to conversation

kern-tools: Kconfiglib: add support for bare 'modules' keyword

PATCH In review Bruce Ashfield 2 participants 2 messages May 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kern-tools: Kconfiglib: add support for bare 'modules' keyword

From: Bruce Ashfield <[email protected]>

Bumping the SRCREV to pickup the following for the kern-tools:

commit 6dd85ff178cd76851e2184b13e545f5a88d1be30 [kconfig: change "modules" from sub-option to first-level attribute] broke parsing in 5.13+ trees.

We add the new location to the parser so we can support both types of module specifications.

Without this, the kernel configuration audit for 5.13+ errors immediately.

The older "option modules" parsing has been left in the code, so that older kernels continue to work as well.

---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +1 -1
index 70b8518304..e967f485c1 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://tools/kgit;beginline=5;endline=9;md5=9c30e971d435e249
 
 DEPENDS = "git-native"
 
-SRCREV = "00dfcab64b85bcb61208724a1588662184ebdd59"
+SRCREV = "d220b063852245fdd16b9731a395ace525f932d6"
 PR = "r12"
 PV = "0.2+git${SRCPV}"
 
Signature · 1 line
2.19.1
#1 lore raw

Thanks Bruce, It fixes my problem with 5.13-rc1 too

Quoted 44 lines · Bruce Ashfield

From: Bruce Ashfield <[email protected]>

Bumping the SRCREV to pickup the following for the kern-tools:

commit 6dd85ff178cd76851e2184b13e545f5a88d1be30 [kconfig: change "modules" from sub-option to first-level attribute] broke parsing in 5.13+ trees.

We add the new location to the parser so we can support both types of module specifications.

Without this, the kernel configuration audit for 5.13+ errors immediately.

The older "option modules" parsing has been left in the code, so that older kernels continue to work as well.

---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +1 -2
index 70b8518304..e967f485c1 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://tools/kgit;beginline=5;endline=9;md5=9c30e971d435e249
 
 DEPENDS = "git-native"
 
-SRCREV = "00dfcab64b85bcb61208724a1588662184ebdd59"
+SRCREV = "d220b063852245fdd16b9731a395ace525f932d6"
 PR = "r12"
 PV = "0.2+git${SRCPV}"
 
--

2.19.1