From ab273d3f16402a5a6827d12f4c68fa4d42d78ce6 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 23 Nov 2016 17:28:00 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/17588 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/lint/kconfig_lint | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') 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 -- cgit v1.2.3