Lines Matching refs:basepath
19 basepath = '' variable
62 self.init_path = os.path.join(basepath, pth)
69 … self.workspace_path = self.get('General', 'workspace_path', os.path.join(basepath, 'workspace'))
98 _create_workspace(config.workspace_path, config, basepath)
100 _enable_workspace_layer(config.workspace_path, config, basepath)
135 def create_workspace(args, config, basepath, workspace): argument
139 workspacedir = os.path.abspath(os.path.join(basepath, 'workspace'))
140 _create_workspace(workspacedir, config, basepath)
142 _enable_workspace_layer(workspacedir, config, basepath)
144 def _create_workspace(workspacedir, config, basepath): argument
181 def _enable_workspace_layer(workspacedir, config, basepath): argument
184 bblayers_conf = os.path.join(basepath, 'conf', 'bblayers.conf')
202 global basepath
212 basepath = os.path.dirname(os.path.abspath(__file__))
235 if global_args.basepath:
237 basepath = global_args.basepath
238 if os.path.exists(os.path.join(basepath, '.devtoolbase')):
241 pth = basepath
245 basepath = pth
250 basepath = os.environ.get('BUILDDIR')
251 if not basepath:
255 logger.debug('Using basepath %s' % basepath)
257 config = ConfigHandler(os.path.join(basepath, 'conf', 'devtool.conf'))
266 sys.path.insert(0, os.path.join(basepath, bitbake_subdir, 'lib'))
268 sys.path.insert(0, os.path.join(basepath, core_meta_subdir, 'lib'))
283 tinfoil = setup_tinfoil(config_only=True, basepath=basepath)
325 ret = args.func(args, config, basepath, workspace)