summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorNoor, Ahsan <noor_ahsan@mentor.com>2011-07-29 17:24:50 +0500
committerKoen Kooi <koen@dominion.thruhere.net>2011-08-05 19:49:59 +0200
commited1d90505459c55c91f6dcf2525774c11c674d22 (patch)
treee3f6494a4af0ecc0a2368ab263949c183f28f806 /meta-oe/classes
parentcc7dcd22b4c7464b604d298b53a9ef15d1757f7a (diff)
downloadmeta-openembedded-ed1d90505459c55c91f6dcf2525774c11c674d22.tar.gz
kernel,cml1.bbclass: Move menuconfig to cml1
* The menuconfig target exists in places other than the kernel that use kernel style config. Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/kernel.bbclass15
1 files changed, 0 insertions, 15 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 3e3e71cf5..19bea292c 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -203,21 +203,6 @@ kernel_do_configure() {
203 203
204do_configure[depends] += "${INITRAMFS_TASK}" 204do_configure[depends] += "${INITRAMFS_TASK}"
205 205
206do_menuconfig() {
207 export DISPLAY='${DISPLAY}'
208 export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}'
209 export XAUTHORITY='${XAUTHORITY}'
210 export TERMWINDOWTITLE="${PN} Kernel Configuration"
211 export SHELLCMDS="make menuconfig"
212 ${TERMCMDRUN}
213 if [ $? -ne 0 ]; then
214 echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
215 exit 1
216 fi
217}
218do_menuconfig[nostamp] = "1"
219addtask menuconfig after do_configure
220
221pkg_postinst_kernel () { 206pkg_postinst_kernel () {
222 cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true 207 cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
223} 208}