mirror of
https://github.com/godotengine/buildroot.git
synced 2025-12-31 09:48:56 +03:00
utils/check-package: check files in support/
The .mk files inside both support/dependencies and support/misc are not
package recipes, similar to package/pkg-*.mk. The check-package don't
apply to them. Therefore ignore such files.
In the test infra, some br2-externals are used as fixtures to provide
(sometimes) failure cases, so ignore files in these directories.
Files inside support/kconfig are files copied from linux upstream, so do
not generate warnings for them.
support/gnuconfig contains auto-generated config.{guess,sub} files,
so do not generate shellcheck warnings for them.
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
29d6f319a0
commit
60fdaf56fe
@@ -112,6 +112,7 @@ DO_CHECK_INTREE = re.compile(r"|".join([
|
||||
r"fs/",
|
||||
r"linux/",
|
||||
r"package/",
|
||||
r"support/",
|
||||
r"system/",
|
||||
r"toolchain/",
|
||||
r"utils/",
|
||||
@@ -121,6 +122,11 @@ DO_NOT_CHECK_INTREE = re.compile(r"|".join([
|
||||
r"fs/common\.mk$",
|
||||
r"package/doc-asciidoc\.mk$",
|
||||
r"package/pkg-\S*\.mk$",
|
||||
r"support/dependencies/[^/]+\.mk$",
|
||||
r"support/gnuconfig/config\.",
|
||||
r"support/kconfig/",
|
||||
r"support/misc/[^/]+\.mk$",
|
||||
r"support/testing/tests/.*br2-external/",
|
||||
r"toolchain/helpers\.mk$",
|
||||
r"toolchain/toolchain-external/pkg-toolchain-external\.mk$",
|
||||
]))
|
||||
|
||||
Reference in New Issue
Block a user