classes/insane: allow libdir QA check to be skipped using INSANE_SKIP
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 15 Jul 2013 18:17:44 +0000 (19:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Jul 2013 20:23:43 +0000 (21:23 +0100)
commit734ded379f50d0e16a6a892860917240a2ff30b6
treefc47b5980d9cf10d3fd121580450b2c73d177f19
parente9a2f0fe1f6b818c007359a1cf11d5a710a3065b
classes/insane: allow libdir QA check to be skipped using INSANE_SKIP

This path check isn't handled in the normal way where a QA check
function is called for every file (there's some minor setup that we want
to avoid doing for every file) so we need to check INSANE_SKIP
explicitly.

In the process, change the code structure a little bit so that we can
report the package that contains the errant file.

Fixes [YOCTO #4822].

(From OE-Core rev: 3bdbec1bdecc52828cbbf8108786ff076c981845)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass