summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-11-23 17:28:00 -0700
committerMartin Roth <martinroth@google.com>2016-11-28 01:05:40 +0100
commitab273d3f16402a5a6827d12f4c68fa4d42d78ce6 (patch)
tree6e651ffd8d24775cc16e20177508105749a738c3
parente69c58d7c8dcb327b1d3d5208870e3655a1cd255 (diff)
downloadcoreboot-ab273d3f16402a5a6827d12f4c68fa4d42d78ce6.tar.xz
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>
-rwxr-xr-xutil/lint/kconfig_lint4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint
index 4d2b90bef1..ae10c03274 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