diff options
author | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-12-15 15:44:23 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-12-17 18:43:07 +0000 |
commit | 024c5c908b80c73761d984f5f7468cfdd65ef96e (patch) | |
tree | 0f02f6c030edbebe215a64b8477d3c10638e3f1a /util/lint/lint-extended-015-final-newlines | |
parent | b6053bc1fc64592f03dc957814f639d407b1525e (diff) |
util/lint: Exclude .apcb files from various checks
.apcb files are binary configuration data and not human readable;
exclude them from license, newline, and whitespace checks.
Change-Id: Idc1ddd5067cb97ef8b5758a0b8bf040d1e421871
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79589
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'util/lint/lint-extended-015-final-newlines')
-rwxr-xr-x | util/lint/lint-extended-015-final-newlines | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint-extended-015-final-newlines b/util/lint/lint-extended-015-final-newlines index b761afbf27..4ea4536124 100755 --- a/util/lint/lint-extended-015-final-newlines +++ b/util/lint/lint-extended-015-final-newlines @@ -15,7 +15,7 @@ LINTDIR="$( PIDS="" INCLUDED_DIRS_AND_FILES='util/* src/* payloads/* configs/* Makefile *.inc' EXCLUDED_DIRS='src/vendorcode/\|cbfstool/lzma/\|cbfstool/lz4/\|Documentation/\|build/\|3rdparty/\|\.git/\|coreboot-builds/\|util/nvidia/cbootimage/\|^util/goswid/vendor' -EXCLUDED_FILES='\.gif$\|\.jpg$\|\.cksum$\|\.bin$\|\.vbt$\|\.hex$\|\.ico$\|\.o$\|\.bz2$\|\.xz$\|^.tmpconfig\|\.pyc$\|_shipped$\|sha256$\|\.png$\|\.patch$' +EXCLUDED_FILES='\.gif$\|\.jpg$\|\.cksum$\|\.bin$\|\.vbt$\|\.hex$\|\.ico$\|\.o$\|\.bz2$\|\.xz$\|^.tmpconfig\|\.pyc$\|_shipped$\|sha256$\|\.png$\|\.patch$\|\.apcb$' HAVE_FILE=$(command -v file 1>/dev/null 2>&1; echo $?) |