generic-poky/meta/classes/cml1.bbclass
Richard Purdie 04c66de8ab cml1/kernel: Update do_menuconfig to use oe.terminal()
The recent environment fixes broke the menuconfig task since it couldn't access
variables like DISPLAY. This patch updates it to use oe.terminal instead
allowing it to work again.

(From OE-Core rev: e876a44fa8ed0aa2e09084c1e7ddfc876c3f981b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15 11:23:59 +01:00

18 lines
365 B
Text

cml1_do_configure() {
set -e
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
oe_runmake oldconfig
}
EXPORT_FUNCTIONS do_configure
addtask configure after do_unpack do_patch before do_compile
inherit terminal
python do_menuconfig() {
oe_terminal("make menuconfig", '${PN} Configuration', d)
}
do_menuconfig[nostamp] = "1"
addtask menuconfig after do_configure