summaryrefslogtreecommitdiffstats
path: root/utils/check-package
diff options
context:
space:
mode:
authorRicardo Martincoski <ricardo.martincoski@gmail.com>2018-04-01 02:08:29 -0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-01 09:09:01 +0200
commitbfc8dce467bd12e43317d5dd0f180b1bb11c0cc0 (patch)
treee380cf5b6454185d9fb4990c1d937e5d799307b9 /utils/check-package
parent6d4f66f9b95b002310b60d0743c96fb66442e004 (diff)
downloadbuildroot-bfc8dce467bd12e43317d5dd0f180b1bb11c0cc0.tar.gz
buildroot-bfc8dce467bd12e43317d5dd0f180b1bb11c0cc0.zip
check-package: enable for toolchain/
The toolchain 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 toolchain/ directory. Ignore this symbol: - BR_LIBC: defined by the buildroot toolchain, used by gcc-final.mk. Ignore toolchain/toolchain-external/pkg-toolchain-external.mk as it declares a package infra and not a package itself. Ignore toolchain/helpers.mk as it contains only helper functions. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'utils/check-package')
-rwxr-xr-xutils/check-package3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/check-package b/utils/check-package
index a5f5dc44c0..dd3a4bb7e8 100755
--- a/utils/check-package
+++ b/utils/check-package
@@ -52,12 +52,15 @@ DO_CHECK_INTREE = re.compile("|".join([
"linux/",
"package/",
"system/",
+ "toolchain/",
]))
DO_NOT_CHECK_INTREE = re.compile("|".join([
"boot/barebox/barebox\.mk$",
"fs/common\.mk$",
"package/doc-asciidoc\.mk$",
"package/pkg-\S*\.mk$",
+ "toolchain/helpers\.mk$",
+ "toolchain/toolchain-external/pkg-toolchain-external\.mk$",
]))
OpenPOWER on IntegriCloud