summaryrefslogtreecommitdiff
path: root/meta/classes/utils.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-02 11:50:50 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-02 11:50:50 +0000
commita9c46e44d43524fc650df45dcbb1f5b89b628c0e (patch)
tree2e5112332db5431ef177df6152ff35ea6a7c4d9f /meta/classes/utils.bbclass
parent26a4b23220073343f03f789ef4c0ed0b4443d50c (diff)
downloadopenembedded-core-a9c46e44d43524fc650df45dcbb1f5b89b628c0e.tar.gz
openembedded-core-a9c46e44d43524fc650df45dcbb1f5b89b628c0e.tar.bz2
openembedded-core-a9c46e44d43524fc650df45dcbb1f5b89b628c0e.zip
base/utils.bbclass: Sync up overlapping functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r--meta/classes/utils.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index ae6fb0d719..02e803a702 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -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: