diff options
| -rw-r--r-- | meta/classes/cml1.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass index d429188c70..bd253117aa 100644 --- a/meta/classes/cml1.bbclass +++ b/meta/classes/cml1.bbclass | |||
| @@ -9,9 +9,15 @@ addtask configure after do_unpack do_patch before do_compile | |||
| 9 | 9 | ||
| 10 | inherit terminal | 10 | inherit terminal |
| 11 | 11 | ||
| 12 | OE_TERMINAL_EXPORTS += "HOST_EXTRACFLAGS HOSTLDFLAGS HOST_LOADLIBES" | ||
| 13 | HOST_EXTRACFLAGS = "${BUILD_CFLAGS} ${BUILD_LDFLAGS}" | ||
| 14 | HOSTLDFLAGS = "${BUILD_LDFLAGS}" | ||
| 15 | HOST_LOADLIBES = "-lncurses" | ||
| 16 | |||
| 12 | python do_menuconfig() { | 17 | python do_menuconfig() { |
| 13 | oe_terminal("make menuconfig", '${PN} Configuration', d) | 18 | oe_terminal("${SHELL} -c \"make menuconfig; echo 'Pausing for 5 seconds'; sleep 5\"", '${PN} Configuration', d) |
| 14 | } | 19 | } |
| 20 | do_menuconfig[depends] += "ncurses-native:do_populate_sysroot" | ||
| 15 | do_menuconfig[nostamp] = "1" | 21 | do_menuconfig[nostamp] = "1" |
| 16 | addtask menuconfig after do_configure | 22 | addtask menuconfig after do_configure |
| 17 | 23 | ||
