소스 검색

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: