summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-03-23 08:28:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-23 17:53:56 +0000
commit5c49230deb4b7b791e4cdd3c66ed7945fc7743c4 (patch)
treeb00e648a1f8ed67f077c66e50b6065d4852aa303 /bitbake
parentb60c9943bff4448be5768e095b67bc4a291414ef (diff)
downloadpoky-5c49230deb4b7b791e4cdd3c66ed7945fc7743c4.tar.gz
bitbake: toaster: localhostbecontroller put generated layer in the builddir
Move the generated layer for custom recipes into the build directory. The build directory makes more sense as this layer/recipe is generated for a particular build/project. (Bitbake rev: 77f3728ee6ea379bffcf73f33c26e982cb0795f4) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index 9deb572839..08419f2ded 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -218,9 +218,8 @@ class LocalhostBEController(BuildEnvironmentController):
218 raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf) 218 raise BuildSetupException("BE is not consistent: bblayers.conf file missing at %s" % bblayerconf)
219 219
220 # 5. create custom layer and add custom recipes to it 220 # 5. create custom layer and add custom recipes to it
221 layerpath = os.path.join(self.be.sourcedir, 221 layerpath = os.path.join(self.be.builddir,
222 "_meta-toaster-custom_", 222 CustomImageRecipe.LAYER_NAME)
223 bitbake.req.project.name)
224 for target in targets: 223 for target in targets:
225 try: 224 try:
226 customrecipe = CustomImageRecipe.objects.get(name=target.target, 225 customrecipe = CustomImageRecipe.objects.get(name=target.target,