aboutsummaryrefslogtreecommitdiffstats
path: root/classes/cml1.bbclass
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-01-27 10:50:22 -0500
committerChris Larson <chris_larson@mentor.com>2011-01-27 10:51:43 -0500
commit76390d32248b7caa1f3a01e8ff4851c1ccd9433d (patch)
tree4312f4238599422608c9dce231d99c50e1354ada /classes/cml1.bbclass
parent734e8852af3bcae779906a586e23cfb47f2e8c1d (diff)
downloadopenembedded-76390d32248b7caa1f3a01e8ff4851c1ccd9433d.tar.gz
cml1: fix the case of the variables in menuconfig
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'classes/cml1.bbclass')
-rw-r--r--classes/cml1.bbclass15
1 files changed, 7 insertions, 8 deletions
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