Skip to contentSkip to conversation

kernel: move menuconfig task after configure

PATCH Applied Darren Hart 2 participants 3 messages Jun 29, 2011 – Jun 30, 2011

lore
Share & tools
lore
#0 lore raw

cover kernel: move menuconfig task after configure

The following changes since commit e0fc42b51a8209dac1163ae8126f8c687b6bfddf:

distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and tcf-agent (2011-06-29 15:04:59 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dvhart/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/kernel

Darren Hart (1):
kernel: move menuconfig task after configure

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

PATCH 1/1 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.

---
 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/kernel.bbclass +1 -1
index fd27832..f282a57 100644
@@ -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
Signature · 1 line
1.7.1
#2 lore raw
In reply to Darren Hart
Quoted 10 lines · Darren Hart

The following changes since commit e0fc42b51a8209dac1163ae8126f8c687b6bfddf:

distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and tcf-agent (2011-06-29 15:04:59 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dvhart/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/kernel

Darren Hart (1):
kernel: move menuconfig task after configure

Merged to master, thanks.

Richard