From f6433e75a047a2d38ab60efea8a7ab7cc3dcd822 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 17 Jan 2011 09:21:54 -0700 Subject: 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 --- classes/cml1.bbclass | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'classes/cml1.bbclass') 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 -- cgit 1.2.3-korg