diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-04-10 22:05:02 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:33 +0100 |
commit | bcd9c57a96c04c27883746feb0e75211f8de6d32 (patch) | |
tree | e393bbf7e0336f1098cc9228fd61aee2b3febd88 /bitbake/lib/bb/build.py | |
parent | c770c62fdcf35e76ed03361de901964bbe68433a (diff) | |
download | openembedded-core-bcd9c57a96c04c27883746feb0e75211f8de6d32.tar.gz openembedded-core-bcd9c57a96c04c27883746feb0e75211f8de6d32.tar.bz2 openembedded-core-bcd9c57a96c04c27883746feb0e75211f8de6d32.zip |
Switch some references to moved functions
(Bitbake rev: ddea2978cb969cf1381cfee5c055de0c9e56a4e3)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 1882733a5f..3d71013998 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -27,6 +27,7 @@ from bb import data, event, mkdirhier, utils import bb, os, sys +import bb.utils # When we execute a python function we'd like certain things # in all namespaces, hence we add them to __builtins__ @@ -107,7 +108,7 @@ def exec_func(func, d, dirs = None): else: dirs = (data.expand(flags['dirs'], d) or "").split() for adir in dirs: - mkdirhier(adir) + bb.utils.mkdirhier(adir) if len(dirs) > 0: adir = dirs[-1] @@ -124,7 +125,7 @@ def exec_func(func, d, dirs = None): t = data.getVar('T', d, 1) if not t: bb.msg.fatal(bb.msg.domain.Build, "T not set") - mkdirhier(t) + bb.utils.mkdirhier(t) logfile = "%s/log.%s.%s" % (t, func, str(os.getpid())) runfile = "%s/run.%s.%s" % (t, func, str(os.getpid())) @@ -320,7 +321,7 @@ def stamp_internal(task, d, file_name): if not stamp: return stamp = "%s.%s" % (stamp, task) - mkdirhier(os.path.dirname(stamp)) + bb.utils.mkdirhier(os.path.dirname(stamp)) # Remove the file and recreate to force timestamp # change on broken NFS filesystems if os.access(stamp, os.F_OK): |