mirror of
https://git.proxmox.com/git/mirror_linux-firmware
synced 2025-08-03 02:20:37 +00:00

The script compares the files listed in WHENCE (or otherwise expected) and the files known to git, and reports all differences as errors. Add a 'check' rule to the Makefile that runs this. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
17 lines
397 B
Makefile
17 lines
397 B
Makefile
# This file implements the GNOME Build API:
|
|
# http://people.gnome.org/~walters/docs/build-api.txt
|
|
|
|
FIRMWAREDIR = /lib/firmware
|
|
|
|
all:
|
|
|
|
check:
|
|
./check_whence.py
|
|
|
|
install:
|
|
mkdir -p $(DESTDIR)$(FIRMWAREDIR)
|
|
cp -r * $(DESTDIR)$(FIRMWAREDIR)
|
|
rm -rf $(DESTDIR)$(FIRMWAREDIR)/usbdux
|
|
find $(DESTDIR)$(FIRMWAREDIR) \( -name 'WHENCE' -or -name 'LICENSE.*' -or \
|
|
-name 'LICENCE.*' \) -exec rm -- {} \;
|