diff options
author | Tom Rini <tom_rini@mentor.com> | 2011-01-17 09:21:54 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-01-17 09:21:54 -0700 |
commit | f6433e75a047a2d38ab60efea8a7ab7cc3dcd822 (patch) | |
tree | c482e78247e96e935109fa3fa28ce8ec1276b849 /classes/cml1.bbclass | |
parent | 6beb9697a694c8b64f9e6201029c054b744d7cf9 (diff) | |
download | openembedded-f6433e75a047a2d38ab60efea8a7ab7cc3dcd822.tar.gz |
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: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes/cml1.bbclass')
-rw-r--r-- | classes/cml1.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/cml1.bbclass b/classes/cml1.bbclass index 79218b4a12..d3d49ebdf9 100644 --- a/classes/cml1.bbclass +++ b/classes/cml1.bbclass @@ -4,5 +4,17 @@ cml1_do_configure() { oe_runmake oldconfig } +do_menuconfig() { + export termwindowtitle="${pn} kernel configuration" + export shellcmds="make menuconfig" + ${termcmdrun} + if [ $? -ne 0 ]; then + echo "fatal: '${termcmd}' not found. check termcmd variable." + exit 1 + fi +} + +do_menuconfig[nostamp] = "1" +addtask menuconfig after do_configure EXPORT_FUNCTIONS do_configure addtask configure after do_unpack do_patch before do_compile |