cml1: fix the case of the variables in menuconfig
authorChris Larson <chris_larson@mentor.com>
Thu, 27 Jan 2011 15:50:22 +0000 (10:50 -0500)
committerChris Larson <chris_larson@mentor.com>
Thu, 27 Jan 2011 15:51:43 +0000 (10:51 -0500)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/cml1.bbclass

index d3d49eb..4c32476 100644 (file)
@@ -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