[oe-commits] Chris Larson : cml1: fix the case of the variables in menuconfig
git version control
git at git.openembedded.org
Thu Feb 3 22:36:27 UTC 2011
Module: openembedded.git
Branch: ulf/linux-2.6.30-2011-01-16
Commit: 3a4b4ff12aee05a9ad49b3a7863124881a73eb60
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3a4b4ff12aee05a9ad49b3a7863124881a73eb60
Author: Chris Larson <chris_larson at mentor.com>
Date: Thu Jan 27 10:50:22 2011 -0500
cml1: fix the case of the variables in menuconfig
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
classes/cml1.bbclass | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/classes/cml1.bbclass b/classes/cml1.bbclass
index d3d49eb..4c32476 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
More information about the Openembedded-commits
mailing list