diff options
-rw-r--r-- | meta/lib/oe/copy_buildsystem.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py index cf7fada7f0..979578c41d 100644 --- a/meta/lib/oe/copy_buildsystem.py +++ b/meta/lib/oe/copy_buildsystem.py | |||
@@ -28,11 +28,10 @@ class BuildSystem(object): | |||
28 | layers.append(corebase) | 28 | layers.append(corebase) |
29 | 29 | ||
30 | corebase_files = self.d.getVar('COREBASE_FILES', True).split() | 30 | corebase_files = self.d.getVar('COREBASE_FILES', True).split() |
31 | |||
32 | # bitbake belongs in corebase so make sure it goes there | ||
33 | if "bitbake" not in corebase_files: | ||
34 | corebase_files.append("bitbake") | ||
35 | corebase_files = [corebase + '/' +x for x in corebase_files] | 31 | corebase_files = [corebase + '/' +x for x in corebase_files] |
32 | # Make sure bitbake goes in | ||
33 | bitbake_dir = bb.__file__.rsplit('/', 3)[0] | ||
34 | corebase_files.append(bitbake_dir) | ||
36 | 35 | ||
37 | for layer in layers: | 36 | for layer in layers: |
38 | layerconf = os.path.join(layer, 'conf', 'layer.conf') | 37 | layerconf = os.path.join(layer, 'conf', 'layer.conf') |