Commit 9b76d55
committed
Add linter tool
This introduces lint.py, a standalone static analysis tool for Kconfig
files that detects:
- Symbols that can never be enabled (no prompt/defaults/select/imply)
- Unused symbols (not referenced in Kconfig or source code)
- Pointless menuconfig entries (empty menus)
- Symbols only defined in defconfig files
- Missing CONFIG_ prefixes in source code references1 parent 4c71161 commit 9b76d55
2 files changed
+462
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
0 commit comments