summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/utils.bbclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index d1f6563a0a..0a533afb1f 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -307,10 +307,11 @@ def base_set_filespath(path, d):
307 if extrapaths != "": 307 if extrapaths != "":
308 path = extrapaths.split(":") + path 308 path = extrapaths.split(":") + path
309 # The ":" ensures we have an 'empty' override 309 # The ":" ensures we have an 'empty' override
310 overrides = ((d.getVar("FILESOVERRIDES", True) or "") + ":").split(":") 310 overrides = (":" + (d.getVar("FILESOVERRIDES", True) or "")).split(":")
311 for p in path: 311 overrides.reverse()
312 if p != "": 312 for o in overrides:
313 for o in overrides: 313 for p in path:
314 if p != "":
314 filespath.append(os.path.join(p, o)) 315 filespath.append(os.path.join(p, o))
315 return ":".join(filespath) 316 return ":".join(filespath)
316 317