]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel: move menuconfig task after configure
authorDarren Hart <dvhart@linux.intel.com>
Wed, 29 Jun 2011 19:16:07 +0000 (12:16 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Jun 2011 19:38:03 +0000 (20:38 +0100)
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@linux.intel.com>
meta/classes/kernel.bbclass

index fd2783251096ad6843adfe59137f36ff92c01486..f282a57f6dbe5d8c17ffc36594e0fb88232dd503 100644 (file)
@@ -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