kconfig_lint: More updates for excluded files
- All of the symbols are in the .config, so if .config is include in the search all of the symbols are always found. - There are now some Kconfig symbols in the Documentation directory, so that needs to be excluded. - 3rdparty has lots of Kconfig symbols that are unrelated to what is being searched for. Change-Id: I0ff56d0a0916338a8b94f5210b8e0b3be5194f41 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/17588 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
e69c58d7c8
commit
ab273d3f16
|
@ -45,9 +45,9 @@ my $root_dir = "src"; # Directory of the top level Kconfig file
|
|||
my $errors_found = 0; # count of errors
|
||||
my $warnings_found = 0;
|
||||
my $exclude_dirs_and_files =
|
||||
'^build/\|^coreboot-builds/\|^configs/\|^util/\|^\.git/\|^payloads'
|
||||
'^build/\|^coreboot-builds/\|^configs/\|^util/\|^\.git/\|^payloads\|^Documentation\|^3rdparty'
|
||||
. '\|' . # directories to exclude when searching for used symbols
|
||||
'\.txt$\|\.tex$\|\.tags'; #files to exclude when looking for symbols
|
||||
'\.config\|\.txt$\|\.tex$\|\.tags'; #files to exclude when looking for symbols
|
||||
my $payload_files_to_check='payloads/Makefile.inc payloads/external/Makefile.inc';
|
||||
my $config_file = ""; # name of config file to load symbol values from.
|
||||
my @wholeconfig; # document the entire kconfig structure
|
||||
|
|
Loading…
Reference in New Issue