summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/archiver.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 8d8e7c42a8..efd413bdc4 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -276,6 +276,11 @@ python do_unpack_and_patch() {
276 # Change the WORKDIR to make do_unpack do_patch run in another dir. 276 # Change the WORKDIR to make do_unpack do_patch run in another dir.
277 d.setVar('WORKDIR', d.getVar('ARCHIVER_WORKDIR', True)) 277 d.setVar('WORKDIR', d.getVar('ARCHIVER_WORKDIR', True))
278 278
279 # The changed 'WORKDIR' also casued 'B' changed, create dir 'B' for the
280 # possibly requiring of the following tasks (such as some recipes's
281 # do_patch required 'B' existed).
282 bb.utils.mkdirhier(d.getVar('B', True))
283
279 # The kernel source is ready after do_validate_branches 284 # The kernel source is ready after do_validate_branches
280 if bb.data.inherits_class('kernel-yocto', d): 285 if bb.data.inherits_class('kernel-yocto', d):
281 bb.build.exec_func('do_unpack', d) 286 bb.build.exec_func('do_unpack', d)