summaryrefslogtreecommitdiffstats
path: root/util/lint/lint-stable-019-header-files
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-09-05 10:44:57 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-09-06 17:58:31 +0000
commitcd9110b6d2d5c161075f9c2a457dcb92468601ba (patch)
treef708ce3956fcb8abcb954f45c660ad21ceec4b96 /util/lint/lint-stable-019-header-files
parent9228f9e49ad2b6ed28056988880032b638ffbf09 (diff)
downloadcoreboot-cd9110b6d2d5c161075f9c2a457dcb92468601ba.tar.gz
coreboot-cd9110b6d2d5c161075f9c2a457dcb92468601ba.tar.bz2
coreboot-cd9110b6d2d5c161075f9c2a457dcb92468601ba.zip
util/lint: Add rules.h & compiler.h to 019-header-files linter
The rules.h & compiler.h includes were removed in previous commits, so add the checks to keep them out to the linter. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: If4964ff26f5e83abbbdd26c2b1cd9a2eab5a0a0d Reviewed-on: https://review.coreboot.org/c/coreboot/+/67350 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'util/lint/lint-stable-019-header-files')
-rwxr-xr-xutil/lint/lint-stable-019-header-files3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/lint/lint-stable-019-header-files b/util/lint/lint-stable-019-header-files
index c839dc5fe87b..6495d1535bf8 100755
--- a/util/lint/lint-stable-019-header-files
+++ b/util/lint/lint-stable-019-header-files
@@ -9,8 +9,7 @@ LC_ALL=C export LC_ALL
INCLUDED_DIRS='^src/'
EXCLUDED_FILES='src/include/kconfig.h'
-# TODO: Add rules when those patches are complete
-HEADER_FILES="k*config"
+HEADER_FILES="k\?config rules compiler"
# Use git grep if the code is in a git repo, otherwise use grep.
if [ -n "$(command -v git)" ] && \