[oe] [PATCH] kernel.bbclass: Move do_menuconfigure after do_configure.

Leon Woestenberg leon.woestenberg at gmail.com
Wed Nov 18 00:27:46 UTC 2009


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 <leon at sidebranch.com>
---
 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





More information about the Openembedded-devel mailing list