If the kernel config option being queried is not found, we get the following
output:
[INFO]: looking for ['CONFIG_GPIO_SYSCON']
Traceback (most recent call last):
File "/path/to/kgit-config", line 671, in <module>
print( "no matching cfg files with option %s found" % regex )
NameError: name 'regex' is not defined
Update the queried-for variable (regex) so that it contains the option the
user is querying (oregex):
[INFO]: looking for ['CONFIG_GPIO_SYSCON']
no matching cfg files with option CONFIG_GPIO_SYSCON found
Signed-off-by: Trevor Woerner <[email protected]>
---
tools/kgit-config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/kgit-config b/tools/kgit-config
index 40f9dc7..d2ecaad 100755
--- a/tools/kgit-config
+++ b/tools/kgit-config
@@ -668,4 +668,4 @@ if args.query:
pass
else:
- print( "no matching cfg files with option %s found" % regex )
+ print( "no matching cfg files with option %s found" % oregex )
--
2.30.0.rc0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10566):
https://lists.yoctoproject.org/g/linux-yocto/message/10566
Mute This Topic: https://lists.yoctoproject.org/mt/86482565/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-