diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-01 08:52:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-01 15:51:36 +0100 |
commit | 6a39835af2b2b3c7797fe05479341d71a3f3aaf6 (patch) | |
tree | 62168efbc801dfa127498c369e07261f11a278e9 /meta/classes/buildstats.bbclass | |
parent | 56d144fd22d37189e49cdf3032afb00f0be469c6 (diff) | |
download | openembedded-core-6a39835af2b2b3c7797fe05479341d71a3f3aaf6.tar.gz openembedded-core-6a39835af2b2b3c7797fe05479341d71a3f3aaf6.tar.bz2 openembedded-core-6a39835af2b2b3c7797fe05479341d71a3f3aaf6.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildstats.bbclass')
-rw-r--r-- | meta/classes/buildstats.bbclass | 6 |
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 () { # set the buildname ######################################################################## try: - bb.mkdirhier(e.data.getVar('BUILDSTATS_BASE', True)) + bb.utils.mkdirhier(e.data.getVar('BUILDSTATS_BASE', True)) except: pass set_bn(e) @@ -185,7 +185,7 @@ python run_buildstats () { bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn) try: - bb.mkdirhier(bsdir) + bb.utils.mkdirhier(bsdir) except: pass if device != "NoLogicalDevice": @@ -236,7 +236,7 @@ python run_buildstats () { set_diskdata("__diskdata_task", device, e.data) set_timedata("__timedata_task", e.data) try: - bb.mkdirhier(taskdir) + bb.utils.mkdirhier(taskdir) except: pass # write into the task event file the name and start time |