mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Makefile: ignore *.orig and *.rej in check-package target
When one is applying patches, it is pretty common to end up with .orig and/or .rej files lying around. Unfortunately, our 'Config.*' match in check-package ends up matching those files, causing false positives when running "make check-package". To avoid this, this commit excludes *.orig and *.rej files for the find logic used in the check-package target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
88e95a36cd
commit
7d0d3987e9
1
Makefile
1
Makefile
@@ -1253,6 +1253,7 @@ check-flake8:
|
|||||||
|
|
||||||
check-package:
|
check-package:
|
||||||
find $(TOPDIR) -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' -o -name '*.patch' \) \
|
find $(TOPDIR) -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' -o -name '*.patch' \) \
|
||||||
|
-a -not -name '*.orig' -a -not -name '*.rej' \
|
||||||
-exec ./utils/check-package --exclude=Sob {} +
|
-exec ./utils/check-package --exclude=Sob {} +
|
||||||
|
|
||||||
include docs/manual/manual.mk
|
include docs/manual/manual.mk
|
||||||
|
|||||||
Reference in New Issue
Block a user