summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-06 14:35:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-07 12:16:00 +0100
commit643c26562f777f3e71c95864ebc9a2efc49ebdf9 (patch)
tree7477840dfcecb4912a7f9d45b3bd1b005fa96635 /meta/classes/insane.bbclass
parentbe9fa8db6b1cec2428b6f240082a0eaf437f3ac1 (diff)
downloadpoky-643c26562f777f3e71c95864ebc9a2efc49ebdf9.tar.gz
insane: Promote warnings into errors
There are several warnings the build can emit which show real problems in the way recipes are being built. Some distros like poky and the Yocto Project autobuilder have been fixing the issues these show for some time. OE-Core has therefore been clean of these errors and warnings for some time. Promote warnings into errors to match the defaults in poky to encourage people to fix these real issue and reduce confusion when people switch distros or customise. (From OE-Core rev: a6a3a4a3739df3ab867fbe7e5a8cb5cac5ee124a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 7fc8f33a98..8b19f445f9 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -22,11 +22,9 @@ QA_SANE = "True"
22 22
23# Elect whether a given type of error is a warning or error, they may 23# Elect whether a given type of error is a warning or error, they may
24# have been set by other files. 24# have been set by other files.
25WARN_QA ?= "ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi \ 25WARN_QA ?= " libdir xorg-driver-abi \
26 textrel already-stripped incompatible-license files-invalid \ 26 textrel incompatible-license files-invalid \
27 installed-vs-shipped compile-host-path install-host-path \ 27 infodir build-deps src-uri-bad symlink-to-sysroot multilib \
28 pn-overrides infodir build-deps src-uri-bad \
29 unknown-configure-option symlink-to-sysroot multilib \
30 invalid-packageconfig host-user-contaminated uppercase-pn patch-fuzz \ 28 invalid-packageconfig host-user-contaminated uppercase-pn patch-fuzz \
31 mime mime-xdg \ 29 mime mime-xdg \
32 " 30 "
@@ -36,6 +34,9 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
36 version-going-backwards expanded-d invalid-chars \ 34 version-going-backwards expanded-d invalid-chars \
37 license-checksum dev-elf file-rdeps configure-unsafe \ 35 license-checksum dev-elf file-rdeps configure-unsafe \
38 configure-gettext perllocalpod shebang-size \ 36 configure-gettext perllocalpod shebang-size \
37 already-stripped installed-vs-shipped ldflags compile-host-path \
38 install-host-path pn-overrides unknown-configure-option \
39 useless-rpaths rpaths staticdev \
39 " 40 "
40# Add usrmerge QA check based on distro feature 41# Add usrmerge QA check based on distro feature
41ERROR_QA_append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}" 42ERROR_QA_append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"