瀏覽代碼

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 2 年之前
父節點
當前提交
394afb3c3b
共有 1 個文件被更改,包括 2 次插入1 次删除
  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: