mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
synced 2024-12-21 14:40:44 +00:00
7d88736093
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 -- {} \;
|