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:04:32 +0100
commitb77f1f327ba3979559fd3756283cb8c1374fcc17 (patch)
tree0bbb2b324cf1e42b33613f5b15695171fbb16e8f /meta/classes/cml1.bbclass
parent9a78cb7980861291df8e8f8c6782735c9b4440ec (diff)
downloadpoky-b77f1f327ba3979559fd3756283cb8c1374fcc17.tar.gz
kernel,cml1.bbclass: Move menuconfig to cml1
* The menuconfig target exists in places other than the kernel that use kernel style config. (From OE-Core rev: 1ceaf45f634d11b65aab0f591a86865df49c8c90) Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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() {
6 6
7EXPORT_FUNCTIONS do_configure 7EXPORT_FUNCTIONS do_configure
8addtask configure after do_unpack do_patch before do_compile 8addtask configure after do_unpack do_patch before do_compile
9
10do_menuconfig() {
11 export TERMWINDOWTITLE="${PN} Configuration"
12 export SHELLCMDS="make menuconfig"
13 ${TERMCMDRUN}
14 if [ $? -ne 0 ]; then
15 oefatal "'${TERMCMD}' not found. Check TERMCMD variable."
16 fi
17}
18do_menuconfig[nostamp] = "1"
19addtask menuconfig after do_configure
20