Currently, menuconfigure comes after the patch task and before
the configure task. If someone runs the menuconfigure task,
then builds the kernel, the configure task will overwrite the
configuration just edited. This is unexpected and/or unwanted
behaviour.

Rather moved menuconfigure past configure, so that the OpenEmbedded
supplied defconfig can be edited afterwards.

Signed-off-by: Leon Woestenberg <[email protected]>
---
 classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 9c1f637..cf7cc4f 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -218,7 +218,7 @@ do_menuconfig() {
        fi
 }
 do_menuconfig[nostamp] = "1"
-addtask menuconfig after do_patch
+addtask menuconfig after do_configure
 
 pkg_postinst_kernel () {
        cd /${KERNEL_IMAGEDEST}; update-alternatives --install 
/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} 
${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
-- 
1.6.0.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to