diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-17 13:39:15 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-17 13:39:15 +0000 |
commit | 5b5ae6bec9fe3350bf9808d9ed7236a4517ae88b (patch) | |
tree | 226107b0762501eba8b6ea104cbeb9e27fbb8731 /meta/classes/kernel.bbclass | |
parent | ece438786ed034be60b8742b713ef443ff95ad8f (diff) | |
download | openembedded-core-5b5ae6bec9fe3350bf9808d9ed7236a4517ae88b.tar.gz openembedded-core-5b5ae6bec9fe3350bf9808d9ed7236a4517ae88b.tar.bz2 openembedded-core-5b5ae6bec9fe3350bf9808d9ed7236a4517ae88b.tar.xz openembedded-core-5b5ae6bec9fe3350bf9808d9ed7236a4517ae88b.zip |
kernel.bbclass: Add menuconfig task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2746 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 758a7c399..5976f42c7 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -161,6 +161,18 @@ kernel_do_configure() { yes '' | oe_runmake oldconfig } +do_menuconfig() { + export TERMWINDOWTITLE="${PN} Kernel Configuration" + export SHELLCMDS="make menuconfig" + ${TERMCMDRUN} + if [ $? -ne 0 ]; then + echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable." + exit 1 + fi +} +do_menuconfig[nostamp] = "1" +addtask menuconfig after do_patch + pkg_postinst_kernel () { cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true } |