summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel-yocto.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 6792c9a233..5bc627066e 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -489,6 +489,12 @@ python () {
489 # If diffconfig is available, ensure it runs after kernel_configme 489 # If diffconfig is available, ensure it runs after kernel_configme
490 if 'do_diffconfig' in d: 490 if 'do_diffconfig' in d:
491 bb.build.addtask('do_diffconfig', None, 'do_kernel_configme', d) 491 bb.build.addtask('do_diffconfig', None, 'do_kernel_configme', d)
492
493 externalsrc = d.getVar('EXTERNALSRC')
494 if externalsrc:
495 # If we deltask do_patch, do_kernel_configme is left without
496 # dependencies and runs too early
497 d.setVarFlag('do_kernel_configme', 'deps', (d.getVarFlag('do_kernel_configme', 'deps', False) or []) + ['do_unpack'])
492} 498}
493 499
494# extra tasks 500# extra tasks