summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildstats.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-01 08:52:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-01 15:51:42 +0100
commit554c892ccf16ca564e7be94f84eaa73667170e15 (patch)
tree01b74616570ebd473abf6bb287cdfcfbd797d41b /meta/classes/buildstats.bbclass
parent6d9e3a19384cbd737fdac729c6c0de5b06f8ec12 (diff)
downloadpoky-554c892ccf16ca564e7be94f84eaa73667170e15.tar.gz
meta: Don't use deprecated bitbake API
These have been deprecated for a long time, convert the remaining references to the correct modules and prepare for removal of the compatibility support from bitbake. (From OE-Core rev: 6a39835af2b2b3c7797fe05479341d71a3f3aaf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildstats.bbclass')
-rw-r--r--meta/classes/buildstats.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass
index b98ba3bea7..72fff1167f 100644
--- a/meta/classes/buildstats.bbclass
+++ b/meta/classes/buildstats.bbclass
@@ -175,7 +175,7 @@ python run_buildstats () {
175 # set the buildname 175 # set the buildname
176 ######################################################################## 176 ########################################################################
177 try: 177 try:
178 bb.mkdirhier(e.data.getVar('BUILDSTATS_BASE', True)) 178 bb.utils.mkdirhier(e.data.getVar('BUILDSTATS_BASE', True))
179 except: 179 except:
180 pass 180 pass
181 set_bn(e) 181 set_bn(e)
@@ -185,7 +185,7 @@ python run_buildstats () {
185 185
186 bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn) 186 bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn)
187 try: 187 try:
188 bb.mkdirhier(bsdir) 188 bb.utils.mkdirhier(bsdir)
189 except: 189 except:
190 pass 190 pass
191 if device != "NoLogicalDevice": 191 if device != "NoLogicalDevice":
@@ -236,7 +236,7 @@ python run_buildstats () {
236 set_diskdata("__diskdata_task", device, e.data) 236 set_diskdata("__diskdata_task", device, e.data)
237 set_timedata("__timedata_task", e.data) 237 set_timedata("__timedata_task", e.data)
238 try: 238 try:
239 bb.mkdirhier(taskdir) 239 bb.utils.mkdirhier(taskdir)
240 except: 240 except:
241 pass 241 pass
242 # write into the task event file the name and start time 242 # write into the task event file the name and start time