devtool: extract: use the correct datastore for builddir

(From OE-Core rev: 6f5bec4570a9237681fcee3922209af2a48f6c07)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Lehtonen 2015-12-18 10:39:41 +02:00 committed by Richard Purdie
parent fa801e775d
commit aadb879e5b

View File

@ -559,7 +559,7 @@ def _extract_source(srctree, keep_temp, devbranch, sync, d):
# Store generate and store kernel config
logger.info('Generating kernel config')
task_executor.exec_func('do_configure', False)
kconfig = os.path.join(d.getVar('B', True), '.config')
kconfig = os.path.join(crd.getVar('B', True), '.config')
shutil.copy2(kconfig, srcsubdir)