]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto: merge duplicate kernel_configme task definitions
authorRoss Burton <ross.burton@intel.com>
Fri, 27 Mar 2015 15:21:01 +0000 (15:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 29 Mar 2015 22:07:16 +0000 (23:07 +0100)
The kernel_configme task was added twice (once in the .bbclass, one in a .inc)
with different ordering constraints.

Change this to be just one definition in the bbclass with the stronger ordering
constraints.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/linux/linux-yocto.inc

index a1fbb51e6802d360582ee59634ab56104b009fbd..650ae5a4736b3255f07aee73f0d4c84cd329bd0b 100644 (file)
@@ -289,7 +289,7 @@ do_kernel_configme() {
        echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config
 }
 
-addtask kernel_configme after do_patch
+addtask kernel_configme before do_configure after do_patch
 
 python do_kernel_configcheck() {
     import re, string, sys
index 5b69a49ab80c923d0afef79a07d1a835c432e26b..3b41a61c36311abdf15911f1ed048d05283f132d 100644 (file)
@@ -32,8 +32,6 @@ KCONF_BSP_AUDIT_LEVEL ?= "0"
 
 LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
 
-addtask kernel_configme before do_configure after do_patch
-
 # Pick up shared functions
 inherit kernel
 inherit kernel-yocto