[coreboot-gerrit] Patch set updated for coreboot: kconfig_lint: More updates for excluded files
Martin Roth (martinroth@google.com)
gerrit at coreboot.org
Thu Nov 24 01:37:35 CET 2016
Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17588
-gerrit
commit b9fb76fac9a1c2ef343c54598a044c7f998a51db
Author: Martin Roth <martinroth at google.com>
Date: Wed Nov 23 17:28:00 2016 -0700
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 at google.com>
---
util/lint/kconfig_lint | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint
index 4d2b90b..ae10c03 100755
--- a/util/lint/kconfig_lint
+++ b/util/lint/kconfig_lint
@@ -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
More information about the coreboot-gerrit
mailing list