util/lint/lint-final-newlines: Supply dirs in row

This just orders the EXCLUDED_DIRS directories in a row based manner,
since there are quite a few them now and it is arguably easier to read
and to add new directories if they are written in a row based fashion.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I802aece355bba4900e71824d802c4b2438726e84
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83872
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Maximilian Brune 2024-08-12 01:58:31 +02:00 committed by Felix Held
commit 394c5a0dd1

View file

@ -14,7 +14,17 @@ 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_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$\|\.apcb$'
HAVE_FILE=$(command -v file 1>/dev/null 2>&1; echo $?)