diff options
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 758a7c3992..5976f42c71 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -161,6 +161,18 @@ kernel_do_configure() { | |||
161 | yes '' | oe_runmake oldconfig | 161 | yes '' | oe_runmake oldconfig |
162 | } | 162 | } |
163 | 163 | ||
164 | do_menuconfig() { | ||
165 | export TERMWINDOWTITLE="${PN} Kernel Configuration" | ||
166 | export SHELLCMDS="make menuconfig" | ||
167 | ${TERMCMDRUN} | ||
168 | if [ $? -ne 0 ]; then | ||
169 | echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable." | ||
170 | exit 1 | ||
171 | fi | ||
172 | } | ||
173 | do_menuconfig[nostamp] = "1" | ||
174 | addtask menuconfig after do_patch | ||
175 | |||
164 | pkg_postinst_kernel () { | 176 | pkg_postinst_kernel () { |
165 | cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true | 177 | cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true |
166 | } | 178 | } |