summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2016-09-18 01:44:04 +0100
committerBen Hutchings <ben@decadent.org.uk>2016-09-26 01:28:45 +0100
commit7d887360934fd6dec1b82051bc1de2d1f365e4fd (patch)
tree2e4a959da091b0b109ad2c52191051ca67722ac6 /Makefile
parent42ad5367dd38371b2a1bb263b6efa85f9b92fc93 (diff)
downloadlinux-firmware-7d887360934fd6dec1b82051bc1de2d1f365e4fd.tar.gz
Add a metadata consistency check script
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1b1aa28..d1163b8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,9 @@ FIRMWAREDIR = /lib/firmware
all:
+check:
+ ./check_whence.py
+
install:
mkdir -p $(DESTDIR)$(FIRMWAREDIR)
cp -r * $(DESTDIR)$(FIRMWAREDIR)