base/utils.bbclass: Sync up overlapping functions

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-11-02 11:50:50 +00:00
parent 26a4b23220
commit a9c46e44d4
2 changed files with 2 additions and 20 deletions

View File

@@ -386,8 +386,9 @@ def explode_deps(s):
return bb.utils.explode_deps(s)
def base_set_filespath(path, d):
bb.note("base_set_filespath usage is deprecated, %s should be fixed" % d.getVar("P", 1))
filespath = []
extrapaths = (bb.data.getVar("FILESEXTRAPATHS", d, True) or "").split()
path = extrapaths + path
# The ":" ensures we have an 'empty' override
overrides = (bb.data.getVar("OVERRIDES", d, 1) or "") + ":"
for p in path: