David Hendricks has uploaded this change for review.
git-hooks: Add check-style for pre-commit hook
This imports check-style and some related lint tools from coreboot
for the pre-commit hook:
- Add check-style rule to Makefile
- Replace the current pre-commit hook with the one from coreboot,
omitting lint-stable for the time being.
- Import checkpatch.pl, along with certain dependencies (spelling.txt
and const_structs.checkpatch) and .checkpatch.conf.
- Add .clang-format from CB:38673.
Change-Id: Ieb77aa1aa2911e081c69c93929a2f1c4430cd2b9
Signed-off-by: David Hendricks <david.hendricks@gmail.com>
---
A .checkpatch.conf
A .clang-format
M Makefile
M util/git-hooks/pre-commit
A util/lint/check-style
A util/lint/checkpatch.pl
A util/lint/const_structs.checkpatch
A util/lint/lint-007-checkpatch
A util/lint/spelling.txt
9 files changed, 16,655 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/02/43602/1
To view, visit change 43602. To unsubscribe, or for help writing mail filters, visit settings.