summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cml1.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass
index 43acfd531b..95cf584ad8 100644
--- a/meta/classes/cml1.bbclass
+++ b/meta/classes/cml1.bbclass
@@ -16,6 +16,7 @@ CROSS_CURSES_LIB = "-lncurses -ltinfo"
16CROSS_CURSES_INC = '-DCURSES_LOC="<curses.h>"' 16CROSS_CURSES_INC = '-DCURSES_LOC="<curses.h>"'
17TERMINFO = "${STAGING_DATADIR_NATIVE}/terminfo" 17TERMINFO = "${STAGING_DATADIR_NATIVE}/terminfo"
18 18
19KCONFIG_CONFIG_COMMAND ??= "menuconfig"
19python do_menuconfig() { 20python do_menuconfig() {
20 import shutil 21 import shutil
21 22
@@ -25,7 +26,7 @@ python do_menuconfig() {
25 except OSError: 26 except OSError:
26 mtime = 0 27 mtime = 0
27 28
28 oe_terminal("${SHELL} -c \"make menuconfig; if [ \$? -ne 0 ]; then echo 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"", '${PN} Configuration', d) 29 oe_terminal("${SHELL} -c \"make ${KCONFIG_CONFIG_COMMAND}; if [ \$? -ne 0 ]; then echo 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"", '${PN} Configuration', d)
29 30
30 # FIXME this check can be removed when the minimum bitbake version has been bumped 31 # FIXME this check can be removed when the minimum bitbake version has been bumped
31 if hasattr(bb.build, 'write_taint'): 32 if hasattr(bb.build, 'write_taint'):