Explorar o código

Makefile: check-package should use the ignore list

For now, we need to ignore a number of check-package warning checks.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas Petazzoni %!s(int64=2) %!d(string=hai) anos
pai
achega
394afb3c3b
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -1257,7 +1257,8 @@ check-flake8:
 	| xargs -- python3 -m flake8 --statistics
 
 check-package:
-	$(Q)./utils/check-package `git ls-tree -r --name-only HEAD`
+	$(Q)./utils/check-package `git ls-tree -r --name-only HEAD` \
+		--ignore-list=$(TOPDIR)/.checkpackageignore
 
 .PHONY: .checkpackageignore
 .checkpackageignore: