summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-01-26 12:52:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-26 22:31:10 +0000
commit6b3cfcf90a0eb51356318f197faf6db4dc06a3e9 (patch)
tree1671f3559d03ef015b904c136751f653224e1071 /meta/classes
parent4084bd02796358abd432104607d9c6569a7e0238 (diff)
downloadopenembedded-core-6b3cfcf90a0eb51356318f197faf6db4dc06a3e9.tar.gz
openembedded-core-6b3cfcf90a0eb51356318f197faf6db4dc06a3e9.tar.bz2
openembedded-core-6b3cfcf90a0eb51356318f197faf6db4dc06a3e9.zip
insane: remove unused variable assignment
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/insane.bbclass10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 79d59d608b..500a37ca0f 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -727,19 +727,17 @@ def package_qa_check_license(workdir, d):
def package_qa_check_staged(path,d):
"""
- Check staged la and pc files for sanity
- -e.g. installed being false
+ Check staged la and pc files for common problems like references to the work
+ directory.
- As this is run after every stage we should be able
- to find the one responsible for the errors easily even
- if we look at every .pc and .la file
+ As this is run after every stage we should be able to find the one
+ responsible for the errors easily even if we look at every .pc and .la file.
"""
sane = True
tmpdir = d.getVar('TMPDIR', True)
workdir = os.path.join(tmpdir, "work")
- installed = "installed=yes"
if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d):
pkgconfigcheck = workdir
else: