summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/copy_buildsystem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py
index 3d5a746586..afaff68598 100644
--- a/meta/lib/oe/copy_buildsystem.py
+++ b/meta/lib/oe/copy_buildsystem.py
@@ -17,7 +17,7 @@ class BuildSystem(object):
17 def __init__(self, context, d): 17 def __init__(self, context, d):
18 self.d = d 18 self.d = d
19 self.context = context 19 self.context = context
20 self.layerdirs = d.getVar('BBLAYERS', True).split() 20 self.layerdirs = [os.path.abspath(pth) for pth in d.getVar('BBLAYERS', True).split()]
21 self.layers_exclude = (d.getVar('SDK_LAYERS_EXCLUDE', True) or "").split() 21 self.layers_exclude = (d.getVar('SDK_LAYERS_EXCLUDE', True) or "").split()
22 22
23 def copy_bitbake_and_layers(self, destdir, workspace_name=None): 23 def copy_bitbake_and_layers(self, destdir, workspace_name=None):
@@ -26,7 +26,7 @@ class BuildSystem(object):
26 bb.utils.mkdirhier(destdir) 26 bb.utils.mkdirhier(destdir)
27 layers = list(self.layerdirs) 27 layers = list(self.layerdirs)
28 28
29 corebase = self.d.getVar('COREBASE', True) 29 corebase = os.path.abspath(self.d.getVar('COREBASE', True))
30 layers.append(corebase) 30 layers.append(corebase)
31 31
32 # Exclude layers 32 # Exclude layers