mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 09:32:14 +02:00
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>
This commit is contained in:
@@ -7,13 +7,10 @@ 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
|
||||
inherit terminal
|
||||
|
||||
python do_menuconfig() {
|
||||
oe_terminal("make menuconfig", '${PN} Configuration', d)
|
||||
}
|
||||
do_menuconfig[nostamp] = "1"
|
||||
addtask menuconfig after do_configure
|
||||
|
||||
Reference in New Issue
Block a user