diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-09-29 10:29:36 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-09-29 10:29:36 +0000 |
commit | 0926149ccd7fb1fbf2810a04a9929df3e1266ed4 (patch) | |
tree | a23b490d5aabab8c3c3ad3e77a7e56d7190e2b90 /classes | |
parent | 8bdf669985f2f3e75da54b1c10642181a56bbba4 (diff) |
kernel.bbclass: Add menuconfig task (from poky)
Diffstat (limited to 'classes')
-rw-r--r-- | classes/kernel.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 758a7c3992..5976f42c71 100644 --- a/classes/kernel.bbclass +++ b/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 } |