util/lint: Ignore fmd files when evaluating Kconfig symbols
Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Change-Id: I5e3ff8ee10fdd3514033e72bd0c2664a4b2f5310 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69918 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
705ebbea04
commit
b357e53bff
|
@ -34,7 +34,7 @@ my $warnings_found = 0;
|
||||||
my $exclude_dirs_and_files =
|
my $exclude_dirs_and_files =
|
||||||
'^build/\|^coreboot-builds/\|^configs/\|^util/\|^\.git/\|^payloads\|^Documentation\|^3rdparty'
|
'^build/\|^coreboot-builds/\|^configs/\|^util/\|^\.git/\|^payloads\|^Documentation\|^3rdparty'
|
||||||
. '\|' . # directories to exclude when searching for used symbols
|
. '\|' . # directories to exclude when searching for used symbols
|
||||||
'\.config\|\.txt$\|\.tex$\|\.tags\|/kconfig.h'; #files to exclude when looking for symbols
|
'\.config\|\.txt$\|\.tex$\|\.tags\|/kconfig.h\|\.fmd'; #files to exclude when looking for symbols
|
||||||
my $payload_files_to_check='payloads/Makefile.inc payloads/external/Makefile.inc';
|
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 $config_file = ""; # name of config file to load symbol values from.
|
||||||
my @wholeconfig; # document the entire kconfig structure
|
my @wholeconfig; # document the entire kconfig structure
|
||||||
|
|
Loading…
Reference in New Issue