[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCHv2 3/3] populate_sdk_ext: pass BBPATH to devtool --bbpath
From:       kergoth () gmail ! com (Christopher Larson)
Date:       2015-07-31 15:19:14
Message-ID: ccf0ba3cb9507e1d0057bd55eeed8275711e1c0d.1438355747.git.chris_larson () mentor ! com
[Download RAW message or body]

From: Christopher Larson <chris_larson at mentor.com>

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
 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')
-- 
2.2.1


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic