From b357e53bff41d1277d37f64460205825b6e06ac4 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 22 Nov 2022 14:47:12 -0700 Subject: [PATCH] util/lint: Ignore fmd files when evaluating Kconfig symbols Signed-off-by: Martin Roth Change-Id: I5e3ff8ee10fdd3514033e72bd0c2664a4b2f5310 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69918 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Elyes Haouas --- 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 f2a732d92b..9c9a8a926d 100755 --- a/util/lint/kconfig_lint +++ b/util/lint/kconfig_lint @@ -34,7 +34,7 @@ my $warnings_found = 0; my $exclude_dirs_and_files = '^build/\|^coreboot-builds/\|^configs/\|^util/\|^\.git/\|^payloads\|^Documentation\|^3rdparty' . '\|' . # 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 $config_file = ""; # name of config file to load symbol values from. my @wholeconfig; # document the entire kconfig structure