diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/devtool/standard.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 5464d7b1f2..1437e7c52a 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -435,6 +435,12 @@ def _extract_source(srctree, keep_temp, devbranch, d): | |||
435 | logger.info('Adding local source files to srctree...') | 435 | logger.info('Adding local source files to srctree...') |
436 | shutil.move(os.path.join(tempdir, 'oe-local-files'), srcsubdir) | 436 | shutil.move(os.path.join(tempdir, 'oe-local-files'), srcsubdir) |
437 | 437 | ||
438 | if bb.data.inherits_class('kernel-yocto', d): | ||
439 | # Store generate and store kernel config | ||
440 | logger.info('Generating kernel config') | ||
441 | task_executor.exec_func('do_configure', False) | ||
442 | kconfig = os.path.join(d.getVar('B', True), '.config') | ||
443 | shutil.copy2(kconfig, srcsubdir) | ||
438 | 444 | ||
439 | shutil.move(srcsubdir, srctree) | 445 | shutil.move(srcsubdir, srctree) |
440 | finally: | 446 | finally: |