On Thu, Aug 16, 2018 at 01:36:48PM +0900, Masahiro Yamada wrote: > If you run "make menuconfig" or "make nconfig" with -j<N> option in a > fresh source tree, you will see several "Can't open ..." messages: > > $ make -j8 menuconfig > HOSTCC scripts/basic/fixdep > YACC scripts/kconfig/zconf.tab.c > LEX scripts/kconfig/zconf.lex.c > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: HOSTCC scripts/kconfig/lxdialog/checklist.o > Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > HOSTCC scripts/kconfig/lxdialog/inputbox.o > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > UPD scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > HOSTCC scripts/kconfig/lxdialog/menubox.o > HOSTCC scripts/kconfig/lxdialog/textbox.o > HOSTCC scripts/kconfig/lxdialog/util.o > HOSTCC scripts/kconfig/lxdialog/yesno.o > HOSTCC scripts/kconfig/mconf.o > HOSTCC scripts/kconfig/zconf.tab.o > HOSTLD scripts/kconfig/mconf > > Correct dependencies to fix this problem. > > Fixes: 1c5af5cf9308 ("kconfig: refactor ncurses package checks for building mconf and nconf") > Reported-by: Borislav Petkov <bp@xxxxxxxxx> > Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> > --- > > scripts/kconfig/Makefile | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Yap, works. Thanks! Tested-by: Borislav Petkov <bp@xxxxxxx> -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --