summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/copy_buildsystem.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py
index dd506a39e6..e24488db10 100644
--- a/meta/lib/oe/copy_buildsystem.py
+++ b/meta/lib/oe/copy_buildsystem.py
@@ -71,6 +71,11 @@ class BuildSystem(object):
71 layerdestpath = destdir 71 layerdestpath = destdir
72 if corebase == os.path.dirname(layer): 72 if corebase == os.path.dirname(layer):
73 layerdestpath += '/' + os.path.basename(corebase) 73 layerdestpath += '/' + os.path.basename(corebase)
74 else:
75 layer_relative = os.path.basename(corebase) + '/' + os.path.relpath(layer, corebase)
76 if os.path.dirname(layer_relative) != layernewname:
77 layerdestpath += '/' + os.path.dirname(layer_relative)
78
74 layerdestpath += '/' + layernewname 79 layerdestpath += '/' + layernewname
75 80
76 layer_relative = os.path.relpath(layerdestpath, 81 layer_relative = os.path.relpath(layerdestpath,