summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-29 23:35:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-29 16:43:11 +0100
commitf9305dac1926207c0ed580168708a18ce2581891 (patch)
treefd9586ed75d4a562a02a57567ef000980e8dbe15 /meta
parent18ad3a84dacc0d6c107b56874bb23d2a3c0a429f (diff)
downloadopenembedded-core-f9305dac1926207c0ed580168708a18ce2581891.tar.gz
openembedded-core-f9305dac1926207c0ed580168708a18ce2581891.tar.bz2
openembedded-core-f9305dac1926207c0ed580168708a18ce2581891.zip
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). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/insane.bbclass6
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():
}
-WARN_QA ?= "dev-so rpaths debug-deps dev-deps debug-files arch la2 pkgconfig desktop la ldflags perms useless-rpaths"
-ERROR_QA ?= ""
-#ERROR_QA ?= "rpaths debug-deps dev-deps debug-files arch pkgconfig perms"
+# Currently not being used by default "desktop"
+WARN_QA ?= "ldflags useless-rpaths rpaths"
+ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms"
def package_qa_clean_path(path,d):
""" Remove the common prefix from the path. In this case it is the TMPDIR"""