[oe-commits] Christopher Larson : populate_sdk_ext: pass BBPATH to devtool --bbpath

git at git.openembedded.org git at git.openembedded.org
Sat Aug 1 21:25:09 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 6ffb07715a289e2d3f57f4262beb92acb7280ea0
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6ffb07715a289e2d3f57f4262beb92acb7280ea0

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Fri Jul 31 08:19:14 2015 -0700

populate_sdk_ext: pass BBPATH to devtool --bbpath

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/populate_sdk_ext.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 0151468..a36bf16 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -88,7 +88,8 @@ python copy_buildsystem () {
         config.write(f)
 
     # Create a layer for new recipes / appends
-    bb.process.run("devtool --basepath %s create-workspace --create-only %s" % (baseoutpath, os.path.join(baseoutpath, 'workspace')))
+    bbpath = d.getVar('BBPATH', True)
+    bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')])
 
     # Create bblayers.conf
     bb.utils.mkdirhier(baseoutpath + '/conf')



More information about the Openembedded-commits mailing list