kernel,cml1.bbclass: Move menuconfig to cml1
authorNoor, Ahsan <noor_ahsan@mentor.com>
Fri, 29 Jul 2011 12:24:50 +0000 (17:24 +0500)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:14:20 +0000 (08:14 -0800)
* The menuconfig target exists in places other than the kernel that use kernel style config.

(From meta-openembedded rev: ed1d90505459c55c91f6dcf2525774c11c674d22)

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/classes/kernel.bbclass

index 3e3e71c..19bea29 100644 (file)
@@ -203,21 +203,6 @@ kernel_do_configure() {
 
 do_configure[depends] += "${INITRAMFS_TASK}"
 
-do_menuconfig() {
-        export DISPLAY='${DISPLAY}'
-        export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}'
-        export XAUTHORITY='${XAUTHORITY}'
-       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_configure
-
 pkg_postinst_kernel () {
        cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
 }