coreboot-kgpe-d16/util/lint
Martin Roth 95b5b025a0 util/lint: Fix linting outside of git repos
If the coreboot code is not in a git repository, the linters switch
from using `git ls-files` to find.  This requires some changes to
prevent the linters from looking at the wrong files which are
automatically excluded by git.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I81d138760c29a7c476280bb9d963f6be99c75d6d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68475
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-10-21 14:30:42 +00:00
..
Makefile util/lint: Update spelling.txt, add makefile to sort it 2022-09-30 19:07:02 +00:00
check-style
check_lint_tests util/lint: Add lint tests to make sure they fail correctly 2022-09-04 16:43:50 +00:00
checkpatch.pl lint/checkpatch: Fix incorrect camelcase detection on numeric constant 2022-09-06 17:59:55 +00:00
checkpatch_json.py util/lint: Add commit message parsing to checkpatch_json script 2022-05-28 01:25:37 +00:00
const_structs.checkpatch
coreboot.dict util/lint: Add coreboot specific dictionary file 2022-06-22 21:40:19 +00:00
description.md
helper_functions.sh util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
kconfig_lint util/lint/kconfig_lint: Fix off by one error that missed last line 2021-11-09 14:14:46 +00:00
kconfig_lint_README
lint util/lint/lint: Add -I option to invert test results 2022-09-07 22:35:02 +00:00
lint-000-license-headers util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-001-no-global-config-in-romstage util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-007-checkpatch util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-008-kconfig util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-014-qualified-types util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-extended-007-checkpatch util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
lint-extended-015-final-newlines util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
lint-extended-020-signed-off-by util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-000-license-headers util/lint: Update to check all of src for license headers 2022-08-17 19:43:30 +00:00
lint-stable-003-whitespace util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
lint-stable-004-style-labels util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-005-board-status util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-006-board-name util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-008-kconfig util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-009-old-licenses util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
lint-stable-010-asm-syntax util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-012-executable-bit util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-013-site-local util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-016-non-ascii util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-017-configs util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-018-symlinks util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-019-header-files util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-021-coreboot-lowercase util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-022-clang-format util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-023-filenames util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-024-kconfig-no-subsystem util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-026-line-endings util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-027-maintainers-syntax lint: MAINTAINERS: check path matches to not only cover the directory 2021-04-13 14:29:43 +00:00
lint-stable-028-touchpad-probed-warning util/lint: Add a check for touchpads using the "probed" flag 2022-09-14 20:52:02 +00:00
remccoms3.sed util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
spelling.txt util/lint: Update spelling.txt, add makefile to sort it 2022-09-30 19:07:02 +00:00