diff options
-rw-r--r-- | meta/classes/utils.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 56abdd844c..3c2e342f91 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass | |||
@@ -338,8 +338,9 @@ def base_set_filespath(path, d): | |||
338 | # The ":" ensures we have an 'empty' override | 338 | # The ":" ensures we have an 'empty' override |
339 | overrides = (bb.data.getVar("OVERRIDES", d, 1) or "") + ":" | 339 | overrides = (bb.data.getVar("OVERRIDES", d, 1) or "") + ":" |
340 | for p in path: | 340 | for p in path: |
341 | for o in overrides.split(":"): | 341 | if p != "": |
342 | filespath.append(os.path.join(p, o)) | 342 | for o in overrides.split(":"): |
343 | filespath.append(os.path.join(p, o)) | ||
343 | return ":".join(filespath) | 344 | return ":".join(filespath) |
344 | 345 | ||
345 | def extend_variants(d, var, extend, delim=':'): | 346 | def extend_variants(d, var, extend, delim=':'): |