summaryrefslogtreecommitdiff
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 18daf8499d..83906ac3d7 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -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)