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>
This commit is contained in:
Ricardo Martincoski 2018-04-01 02:08:17 -03:00 committed by Thomas Petazzoni
parent 9b6b4e36b4
commit 79936be11a

View file

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