Re: special handle of scripts/kconfig/zconf.tab.o

2017-08-20 Thread Cao jin
Hi, Thank you both for those valuable info. On 08/19/2017 08:42 PM, Masahiro Yamada wrote: > Hi. > (+CC Sam) > > 2017-08-15 20:02 GMT+09:00 Cao jin : >> Masahiro-san, >> >> I have a question about make *config. In scripts/kconfig/Makefile, there >> is following statement: >> >> $(obj)/zconf.tab

Re: special handle of scripts/kconfig/zconf.tab.o

2017-08-19 Thread Sam Ravnborg
> > The difference between with/without _shipped is, > > zconf.{tab,hash,lex}.c_shipped reside under $(srctree), > > whereas zconf.{tab,hash,lex}.c under $(objtree). > > The whole idea behind the *_shipped file was to have less dependencies > on the host system buildign the kernel. > So we did not

Re: special handle of scripts/kconfig/zconf.tab.o

2017-08-19 Thread Sam Ravnborg
Hi Masahiro On Sat, Aug 19, 2017 at 09:42:40PM +0900, Masahiro Yamada wrote: > Hi. > (+CC Sam) > > 2017-08-15 20:02 GMT+09:00 Cao jin : > > Masahiro-san, > > > > I have a question about make *config. In scripts/kconfig/Makefile, there > > is following statement: > > > > $(obj)/zconf.tab.o: $(obj)

Re: special handle of scripts/kconfig/zconf.tab.o

2017-08-19 Thread Masahiro Yamada
Hi. (+CC Sam) 2017-08-15 20:02 GMT+09:00 Cao jin : > Masahiro-san, > > I have a question about make *config. In scripts/kconfig/Makefile, there > is following statement: > > $(obj)/zconf.tab.o: $(obj)/zconf.lex.c $(obj)/zconf.hash.c > > and the $(obj)/zconf.{tab,hash,lex}.c match the rule in Makef

special handle of scripts/kconfig/zconf.tab.o

2017-08-15 Thread Cao jin
Masahiro-san, I have a question about make *config. In scripts/kconfig/Makefile, there is following statement: $(obj)/zconf.tab.o: $(obj)/zconf.lex.c $(obj)/zconf.hash.c and the $(obj)/zconf.{tab,hash,lex}.c match the rule in Makefile.lib: $(obj)/%: $(src)/%_shipped $(call cmd,shipped)