Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/67350 )
Change subject: util/lint: Add rules.h & compiler.h to 019-header-files linter ......................................................................
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 --- M util/lint/lint-stable-019-header-files 1 file changed, 14 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/67350/1
diff --git a/util/lint/lint-stable-019-header-files b/util/lint/lint-stable-019-header-files index c839dc5..6adf6c5 100755 --- a/util/lint/lint-stable-019-header-files +++ b/util/lint/lint-stable-019-header-files @@ -9,8 +9,7 @@ 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)" ] && \