mirror of
https://gitlab.com/kernel-firmware/linux-firmware.git
synced 2025-12-10 07:44:48 +01:00
Wire up pre-commit to make check
This will let `make check` cover more things than just `WHENCE`. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
This commit is contained in:
parent
c442a5002c
commit
5e2367f8ea
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -6,7 +6,11 @@ FIRMWAREDIR = /lib/firmware
|
|||
all:
|
||||
|
||||
check:
|
||||
@./check_whence.py
|
||||
@if ! which pre-commit >/dev/null; then \
|
||||
echo "Install pre-commit to check files"; \
|
||||
exit 1; \
|
||||
fi
|
||||
@pre-commit run --all-files
|
||||
|
||||
install:
|
||||
install -d $(DESTDIR)$(FIRMWAREDIR)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue