summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-07-31 08:19:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 22:24:12 +0100
commit5398b9d95feb6d52eaf28d5ce068f49b7b1e67a6 (patch)
tree95aa68aa742226f8c9a99479745675055b7e1662 /meta
parent84ad12ead09f01f3aec3e13df5f61abf7891f31f (diff)
downloadpoky-5398b9d95feb6d52eaf28d5ce068f49b7b1e67a6.tar.gz
populate_sdk_ext: pass BBPATH to devtool --bbpath
(From OE-Core rev: 6ffb07715a289e2d3f57f4262beb92acb7280ea0) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 0151468869..a36bf16c78 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -88,7 +88,8 @@ python copy_buildsystem () {
88 config.write(f) 88 config.write(f)
89 89
90 # Create a layer for new recipes / appends 90 # Create a layer for new recipes / appends
91 bb.process.run("devtool --basepath %s create-workspace --create-only %s" % (baseoutpath, os.path.join(baseoutpath, 'workspace'))) 91 bbpath = d.getVar('BBPATH', True)
92 bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')])
92 93
93 # Create bblayers.conf 94 # Create bblayers.conf
94 bb.utils.mkdirhier(baseoutpath + '/conf') 95 bb.utils.mkdirhier(baseoutpath + '/conf')