diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-29 23:35:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-29 16:46:47 +0100 |
commit | b5bdb6a5dccd470f50ba94e74162861ffeb56206 (patch) | |
tree | e69d9182630aa5936717976cd83bf819db64a0dc | |
parent | 72928abdfc00af2a7a5fac27f82e23e5de8efc4b (diff) | |
download | poky-b5bdb6a5dccd470f50ba94e74162861ffeb56206.tar.gz |
insane: Promote most warnings into QA errors by default
We agreed a while back that we'd start ERRORing on QA issues, not just
WARNING about them. This patch changes the default QA levels to error
on everything except ldflag and useless rpath issues.
It also stops giving out QA warnings about desktop files since it
adds noise to the build and until someone plans to seriously tackle
that problem, its pointless.
We can promote the ldflag and rpath warnings too, when the issues in
OE-Core are resolved (they're mostly there now, just a few more to go).
(From OE-Core rev: f9305dac1926207c0ed580168708a18ce2581891)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/insane.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index addb9ac2d5..b861e85321 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -99,9 +99,9 @@ def package_qa_get_machine_dict(): | |||
99 | } | 99 | } |
100 | 100 | ||
101 | 101 | ||
102 | WARN_QA ?= "dev-so rpaths debug-deps dev-deps debug-files arch la2 pkgconfig desktop la ldflags perms useless-rpaths" | 102 | # Currently not being used by default "desktop" |
103 | ERROR_QA ?= "" | 103 | WARN_QA ?= "ldflags useless-rpaths rpaths" |
104 | #ERROR_QA ?= "rpaths debug-deps dev-deps debug-files arch pkgconfig perms" | 104 | ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms" |
105 | 105 | ||
106 | def package_qa_clean_path(path,d): | 106 | def package_qa_clean_path(path,d): |
107 | """ Remove the common prefix from the path. In this case it is the TMPDIR""" | 107 | """ Remove the common prefix from the path. In this case it is the TMPDIR""" |