summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-06-29 12:16:07 -0700
committerKoen Kooi <koen@dominion.thruhere.net>2011-07-15 17:05:27 +0200
commit5196b842f73e9e36d315e6eb2441eeb63696da85 (patch)
tree4ff0e64160693d06cb79be2721bcc5f5b61297bc
parentddeb1449313082536b903faee9621488cc62dfb0 (diff)
downloadmeta-openembedded-5196b842f73e9e36d315e6eb2441eeb63696da85.tar.gz
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@linux.intel.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 7e594e44d..349c752c3 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -217,7 +217,7 @@ do_menuconfig() {
217 fi 217 fi
218} 218}
219do_menuconfig[nostamp] = "1" 219do_menuconfig[nostamp] = "1"
220addtask menuconfig after do_patch 220addtask menuconfig after do_configure
221 221
222pkg_postinst_kernel () { 222pkg_postinst_kernel () {
223 cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true 223 cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true