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:
parent
29d6f319a0
commit
60fdaf56fe
@ -288,3 +288,45 @@ package/x11r7/xdriver_xf86-video-savage/0001-cross-compile.patch Sob
|
||||
package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch Sob
|
||||
package/x11r7/xserver_xorg-server/S40xorg Shellcheck Variables
|
||||
package/xl2tp/xl2tpd TrailingSpace
|
||||
support/dependencies/check-host-asciidoc.sh Shellcheck
|
||||
support/dependencies/check-host-cmake.sh Shellcheck
|
||||
support/dependencies/check-host-gzip.sh Shellcheck
|
||||
support/dependencies/check-host-lzip.sh Shellcheck
|
||||
support/dependencies/check-host-make.sh Shellcheck
|
||||
support/dependencies/check-host-python3.sh Shellcheck
|
||||
support/dependencies/check-host-tar.sh Shellcheck
|
||||
support/dependencies/check-host-xzcat.sh Shellcheck
|
||||
support/dependencies/dependencies.sh Shellcheck
|
||||
support/download/bzr ConsecutiveEmptyLines Shellcheck
|
||||
support/download/cargo-post-process Shellcheck
|
||||
support/download/check-hash Shellcheck
|
||||
support/download/cvs Shellcheck
|
||||
support/download/dl-wrapper Shellcheck
|
||||
support/download/file Shellcheck
|
||||
support/download/git Shellcheck
|
||||
support/download/go-post-process Shellcheck
|
||||
support/download/hg Shellcheck
|
||||
support/download/scp Shellcheck
|
||||
support/download/sftp Shellcheck
|
||||
support/download/svn Shellcheck
|
||||
support/download/wget Shellcheck
|
||||
support/gnuconfig/update Shellcheck
|
||||
support/libtool/buildroot-libtool-v1.5.patch ApplyOrder Sob
|
||||
support/libtool/buildroot-libtool-v2.2.patch ApplyOrder Sob
|
||||
support/libtool/buildroot-libtool-v2.4.4.patch ApplyOrder
|
||||
support/libtool/buildroot-libtool-v2.4.patch ApplyOrder Sob
|
||||
support/misc/relocate-sdk.sh Shellcheck
|
||||
support/scripts/apply-patches.sh Shellcheck
|
||||
support/scripts/br2-external Shellcheck
|
||||
support/scripts/check-bin-arch Shellcheck
|
||||
support/scripts/check-host-rpath Shellcheck
|
||||
support/scripts/expunge-gconv-modules Shellcheck
|
||||
support/scripts/fix-configure-powerpc64.sh EmptyLastLine
|
||||
support/scripts/fix-rpath Shellcheck
|
||||
support/scripts/generate-gitlab-ci-yml Shellcheck
|
||||
support/scripts/mkmakefile ConsecutiveEmptyLines Shellcheck
|
||||
support/scripts/mkusers Shellcheck
|
||||
support/scripts/setlocalversion Shellcheck
|
||||
support/testing/tests/core/post-build.sh Shellcheck
|
||||
support/testing/tests/package/test_opkg/post-build.sh Shellcheck
|
||||
support/testing/tests/utils/test_get_developers/0001-package-binutils-change-.mk.patch NumberedSubject
|
||||
|
@ -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$",
|
||||
]))
|
||||
|
Loading…
Reference in New Issue
Block a user