summaryrefslogtreecommitdiffstats
path: root/meta/classes/cml1.bbclass
diff options
context:
space:
mode:
authorNoor, Ahsan <noor_ahsan@mentor.com>2011-07-29 17:24:50 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-04 15:01:17 +0100
commit1ceaf45f634d11b65aab0f591a86865df49c8c90 (patch)
tree42494cd1dddd4e13323ac39a35c5af02fd99a63c /meta/classes/cml1.bbclass
parent5fbea0f2614d5bc9aec0819a337cdec9b5331f71 (diff)
downloadopenembedded-core-1ceaf45f634d11b65aab0f591a86865df49c8c90.tar.gz
openembedded-core-1ceaf45f634d11b65aab0f591a86865df49c8c90.tar.bz2
openembedded-core-1ceaf45f634d11b65aab0f591a86865df49c8c90.zip
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>
Diffstat (limited to 'meta/classes/cml1.bbclass')
-rw-r--r--meta/classes/cml1.bbclass12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass
index 79218b4a12..a747af5e4d 100644
--- a/meta/classes/cml1.bbclass
+++ b/meta/classes/cml1.bbclass
@@ -6,3 +6,15 @@ cml1_do_configure() {
EXPORT_FUNCTIONS do_configure
addtask configure after do_unpack do_patch before do_compile
+
+do_menuconfig() {
+ export TERMWINDOWTITLE="${PN} Configuration"
+ export SHELLCMDS="make menuconfig"
+ ${TERMCMDRUN}
+ if [ $? -ne 0 ]; then
+ oefatal "'${TERMCMD}' not found. Check TERMCMD variable."
+ fi
+}
+do_menuconfig[nostamp] = "1"
+addtask menuconfig after do_configure
+