diff options
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 72ec97b68a..2dbe37263c 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -288,7 +288,7 @@ def _extract_source(srctree, keep_temp, devbranch, d): | |||
288 | if bb.data.inherits_class('kernel', d): | 288 | if bb.data.inherits_class('kernel', d): |
289 | crd.setVar('S', '${WORKDIR}/source') | 289 | crd.setVar('S', '${WORKDIR}/source') |
290 | else: | 290 | else: |
291 | crd.setVar('S', '${WORKDIR}/${BP}') | 291 | crd.setVar('S', '${WORKDIR}/%s' % os.path.basename(d.getVar('S', True))) |
292 | if bb.data.inherits_class('kernel', d): | 292 | if bb.data.inherits_class('kernel', d): |
293 | # We don't want to move the source to STAGING_KERNEL_DIR here | 293 | # We don't want to move the source to STAGING_KERNEL_DIR here |
294 | crd.setVar('STAGING_KERNEL_DIR', '${S}') | 294 | crd.setVar('STAGING_KERNEL_DIR', '${S}') |