diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 7913dd8c00..707a219f65 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -263,6 +263,8 @@ do_kernel_configme() { | |||
263 | echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config | 263 | echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config |
264 | } | 264 | } |
265 | 265 | ||
266 | addtask kernel_configme after do_patch | ||
267 | |||
266 | python do_kernel_configcheck() { | 268 | python do_kernel_configcheck() { |
267 | import re, string, sys | 269 | import re, string, sys |
268 | 270 | ||
@@ -407,4 +409,8 @@ OE_TERMINAL_EXPORTS += "GUILT_BASE KBUILD_OUTPUT" | |||
407 | GUILT_BASE = "meta" | 409 | GUILT_BASE = "meta" |
408 | KBUILD_OUTPUT = "${B}" | 410 | KBUILD_OUTPUT = "${B}" |
409 | 411 | ||
410 | do_diffconfig[depends] += "virtual/kernel:do_kernel_configme" | 412 | python () { |
413 | # If diffconfig is available, ensure it runs after kernel_configme | ||
414 | if 'do_diffconfig' in d: | ||
415 | bb.build.addtask('do_diffconfig', None, 'do_kernel_configme', d) | ||
416 | } | ||