From 6cb9efa19a3d5889ff3397911d15afc35a12aff3 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 28 Jun 2025 10:09:44 -0600 Subject: [PATCH] util/lint: Ignore opensil for Kconfig linter The Kconfig linter was browsing into the openSIL tree and reporting issues for the release because it can't use git grep there. This change explicitly tells the Kconfig linter to ignore the openSIL submodule. Change-Id: Ia0399225cced9f199a6d2a90bc6c2af905ff4e99 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/c/coreboot/+/88235 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- 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 21e40c6aa4..551faabdbb 100755 --- a/util/lint/kconfig_lint +++ b/util/lint/kconfig_lint @@ -33,7 +33,7 @@ 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\|^Documentation\|^3rdparty' + '^build/\|^coreboot-builds/\|^configs/\|^util/\|^\.git/\|^payloads\|^Documentation\|^3rdparty\|^src/vendorcode/amd/opensil/genoa_poc/opensil' . '\|' . # directories to exclude when searching for used symbols '\.config\|\.txt$\|\.tex$\|\.tags\|/kconfig.h\|\.fmd'; #files to exclude when looking for symbols my $payload_files_to_check='payloads/Makefile.mk payloads/external/Makefile.mk';