From: Chris Larson Date: Thu, 27 Jan 2011 15:50:22 +0000 (-0500) Subject: cml1: fix the case of the variables in menuconfig X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76390d32248b7caa1f3a01e8ff4851c1ccd9433d;p=openembedded.git cml1: fix the case of the variables in menuconfig Signed-off-by: Chris Larson --- diff --git a/classes/cml1.bbclass b/classes/cml1.bbclass index d3d49ebdf9..4c32476af8 100644 --- a/classes/cml1.bbclass +++ b/classes/cml1.bbclass @@ -4,17 +4,16 @@ cml1_do_configure() { oe_runmake oldconfig } +EXPORT_FUNCTIONS do_configure +addtask configure after do_unpack do_patch before do_compile + do_menuconfig() { - export termwindowtitle="${pn} kernel configuration" - export shellcmds="make menuconfig" - ${termcmdrun} + export TERMWINDOWTITLE="${PN} Configuration" + export SHELLCMDS="make menuconfig" + ${TERMCMDRUN} if [ $? -ne 0 ]; then - echo "fatal: '${termcmd}' not found. check termcmd variable." - exit 1 + oefatal "'${TERMCMD}' not found. Check TERMCMD variable." fi } - do_menuconfig[nostamp] = "1" addtask menuconfig after do_configure -EXPORT_FUNCTIONS do_configure -addtask configure after do_unpack do_patch before do_compile