Commit Graph

3 Commits

Author SHA1 Message Date
Paul Bolle b8c626ce78 Adjust grep pattern for finding Kconfig symbols
This script detects unknown Kconfig symbols by checking whether the
Kconfig macros used in the various *.config files have a corresponding
Kconfig symbol in the tree. Its core test is done with grep().

It turns out that match pattern used in grep() is too broad. For
instance, it doesn't report CONFIG_ACPI_PROCFS as unknown because there
is a Kconfig entry for ACPI_PROCFS_POWER in the tree. Make the pattern
match Kconfig symbols exactly to correct this.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2018-11-08 10:38:58 -06:00
Paul Bolle 9964dac781 Adjust glob pattern for configuration files
With the introduction of the new method of configuration generation the
names of the shipped kernel configuration files changed too. Adjust the
glob pattern in the check-configs.pl script to those changed names.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2018-11-06 09:43:31 -06:00
Josh Boyer 8985cfb689 Add check-configs.pl script from Paul Bolle
We can run this once per RC (or somewhat frequently) to keep the split
config-* files clean of dead Kconfig options
2014-11-11 09:57:11 -05:00