[oe-commits] Darren Hart : kernel: move menuconfig task after configure

git version control git at git.openembedded.org
Thu Jun 30 19:59:05 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 829dd1d7ca99ec6228d2705cdece4727232797d3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=829dd1d7ca99ec6228d2705cdece4727232797d3

Author: Darren Hart <dvhart at linux.intel.com>
Date:   Wed Jun 29 12:16:07 2011 -0700

kernel: move menuconfig task after configure

Fixes [YOCTO 1136]

linux-yocto adds some configure steps that are necessary to prepare the source
tree after the do_patch task. This causes a "-c menuconfig" to fail in a clean
build tree. Typical use of menuconfig should be to modify the config provided
by the recipe being built. It therefor makes sense for the menuconfig task to
come after the configure task. This also happens to fix the issue seen with the
linux-yocto kernel recipe.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>

---

 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index fd27832..f282a57 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -194,7 +194,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





More information about the Openembedded-commits mailing list