check-package: enable for boot/

This directory can benefit from this script to prevent common mistakes
when submitting patches.

In order to accomplish this:
Do not ignore anymore files from the boot/ directory.
Ignore boot/barebox/barebox.mk as it declares a package infra and not a
package itself.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018.05.x
Ricardo Martincoski 2018-04-01 02:08:17 -03:00 committed by Thomas Petazzoni
parent 9b6b4e36b4
commit 79936be11a
1 changed files with 2 additions and 0 deletions

View File

@ -47,10 +47,12 @@ def parse_args():
CONFIG_IN_FILENAME = re.compile("/Config\.\S*$")
DO_CHECK_INTREE = re.compile("|".join([
"arch/",
"boot/",
"package/",
"system/",
]))
DO_NOT_CHECK_INTREE = re.compile("|".join([
"boot/barebox/barebox\.mk$",
"package/doc-asciidoc\.mk$",
"package/pkg-\S*\.mk$",
]))