summaryrefslogtreecommitdiffstats
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:59 +0000
commit4ead707b6c45c38465816d7ce692b5fe64e0fa80 (patch)
treeaea1864482e71adbfb67cbedc653ec1d5be31ba6
parent44e9c3b779283ab64d4c480d020951b6dbeefbdf (diff)
downloadpoky-4ead707b6c45c38465816d7ce692b5fe64e0fa80.tar.gz
insane: remove unused variable assignment
(From OE-Core rev: 6b3cfcf90a0eb51356318f197faf6db4dc06a3e9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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):
727 727
728def package_qa_check_staged(path,d): 728def package_qa_check_staged(path,d):
729 """ 729 """
730 Check staged la and pc files for sanity 730 Check staged la and pc files for common problems like references to the work
731 -e.g. installed being false 731 directory.
732 732
733 As this is run after every stage we should be able 733 As this is run after every stage we should be able to find the one
734 to find the one responsible for the errors easily even 734 responsible for the errors easily even if we look at every .pc and .la file.
735 if we look at every .pc and .la file
736 """ 735 """
737 736
738 sane = True 737 sane = True
739 tmpdir = d.getVar('TMPDIR', True) 738 tmpdir = d.getVar('TMPDIR', True)
740 workdir = os.path.join(tmpdir, "work") 739 workdir = os.path.join(tmpdir, "work")
741 740
742 installed = "installed=yes"
743 if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d): 741 if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d):
744 pkgconfigcheck = workdir 742 pkgconfigcheck = workdir
745 else: 743 else: