summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildhistory.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-12-02 18:50:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-03 17:45:49 +0000
commit1c37266c2a2c9e57d49a4b0e71842c69311c12c4 (patch)
treee61c7d24b046838eef9bd2a20d82d04b62d40d93 /meta/classes/buildhistory.bbclass
parentc36c1989c134e36b3b93d8bd99a110ad6976a261 (diff)
downloadpoky-1c37266c2a2c9e57d49a4b0e71842c69311c12c4.tar.gz
classes/buildhistory: drop cruft from old SRCREV tracking implementation
This should have been removed when the implementation was rewritten in OE-Core commit 2179db89436d719635f858c87d1e098696bead2a. The collected values weren't being used anywhere since then. (From OE-Core rev: cbc23a87c1897b7fda40f452dd36acb0bca3d197) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
-rw-r--r--meta/classes/buildhistory.bbclass12
1 files changed, 0 insertions, 12 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index ec3f0b173e..6e59f64993 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -46,10 +46,7 @@ python buildhistory_emit_pkghistory() {
46 self.pr = "r0" 46 self.pr = "r0"
47 self.depends = "" 47 self.depends = ""
48 self.packages = "" 48 self.packages = ""
49 self.bbfile = ""
50 self.src_uri = ""
51 self.srcrev = "" 49 self.srcrev = ""
52 self.srcrev_autorev = ""
53 50
54 51
55 class PackageInfo: 52 class PackageInfo:
@@ -159,11 +156,6 @@ python buildhistory_emit_pkghistory() {
159 pv = d.getVar('PV', True) 156 pv = d.getVar('PV', True)
160 pr = d.getVar('PR', True) 157 pr = d.getVar('PR', True)
161 158
162 bbfile = d.getVar('BB_FILENAME', True)
163 src_uri = d.getVar('SRC_URI', True)
164 srcrev = d.getVar('SRCREV', True)
165 srcrev_autorev = 'yes' if d.getVar('SRCREV', False) == 'AUTOINC' else 'no'
166
167 packages = squashspaces(d.getVar('PACKAGES', True)) 159 packages = squashspaces(d.getVar('PACKAGES', True))
168 160
169 packagelist = packages.split() 161 packagelist = packages.split()
@@ -184,10 +176,6 @@ python buildhistory_emit_pkghistory() {
184 rcpinfo.pv = pv 176 rcpinfo.pv = pv
185 rcpinfo.pr = pr 177 rcpinfo.pr = pr
186 rcpinfo.depends = sortlist(squashspaces(d.getVar('DEPENDS', True) or "")) 178 rcpinfo.depends = sortlist(squashspaces(d.getVar('DEPENDS', True) or ""))
187 rcpinfo.bbfile = bbfile
188 rcpinfo.src_uri = src_uri
189 rcpinfo.srcrev = srcrev
190 rcpinfo.srcrev_autorev = srcrev_autorev
191 rcpinfo.packages = packages 179 rcpinfo.packages = packages
192 write_recipehistory(rcpinfo, d) 180 write_recipehistory(rcpinfo, d)
193 181