[coreboot-gerrit] New patch to review for coreboot: kconfig_lint: exclude .config files from symbol search

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Thu Nov 24 01:28:21 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 e62a97f37cb909f30b2d40c8d52ac59d079e8ba9
Author: Martin Roth <martinroth at google.com>
Date:   Wed Nov 23 17:28:00 2016 -0700

    kconfig_lint: exclude .config files from symbol search
    
    All of the symbols are in the .config, so it always finds all of
    the symbols.
    
    Change-Id: I0ff56d0a0916338a8b94f5210b8e0b3be5194f41
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 util/lint/kconfig_lint | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint
index 4d2b90b..51833ff 100755
--- a/util/lint/kconfig_lint
+++ b/util/lint/kconfig_lint
@@ -47,7 +47,7 @@ my $warnings_found = 0;
 my $exclude_dirs_and_files =
   '^build/\|^coreboot-builds/\|^configs/\|^util/\|^\.git/\|^payloads'
   . '\|' .                            # 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