Re: make clean all broken with -j? + question regarding modpost

2017-08-12 Thread Thomas Meyer
On Sat, Aug 12, 2017 at 12:15:11PM +0900, Masahiro Yamada wrote: > Hi. > > 2017-08-11 3:28 GMT+09:00 Randy Dunlap : > > >> 2.) compile modpost with debug symbols, -g > >> how do I compile the modpost helper program with debug symbols? In what > >> makefile, kbuild file do I need to add the compil

Re: make clean all broken with -j? + question regarding modpost

2017-08-12 Thread Thomas Meyer
On Sat, Aug 12, 2017 at 12:11:50PM +0900, Masahiro Yamada wrote: > Hi. > > > 2017-08-11 7:11 GMT+09:00 Jim Davis : > > On Thu, Aug 10, 2017 at 11:28 AM, Randy Dunlap > > wrote: > >> [adding linux-kbuild] > >> > >> On 08/10/2017 08:42 AM, Thomas Meyer wrote: > >>> Hi, > >>> > >>> 1.) make with m

Re: make clean all broken with -j? + question regarding modpost

2017-08-12 Thread Sam Ravnborg
Hi Masahiro > > Kbuild does not cater to the mixture of clean targets and build targets, > but I do not know why. The details has long escaped me but in general we do not want to have a job deleting all .o files running in parallel with a job that creates .o files. So we wanted the following to

Re: make clean all broken with -j? + question regarding modpost

2017-08-11 Thread Masahiro Yamada
Hi. 2017-08-11 3:28 GMT+09:00 Randy Dunlap : >> 2.) compile modpost with debug symbols, -g >> how do I compile the modpost helper program with debug symbols? In what >> makefile, kbuild file do I need to add the compiler flag? >> Any help would be appreciated! If you want to pass extra options

Re: make clean all broken with -j? + question regarding modpost

2017-08-11 Thread Masahiro Yamada
Hi. 2017-08-11 7:11 GMT+09:00 Jim Davis : > On Thu, Aug 10, 2017 at 11:28 AM, Randy Dunlap wrote: >> [adding linux-kbuild] >> >> On 08/10/2017 08:42 AM, Thomas Meyer wrote: >>> Hi, >>> >>> 1.) make with multiple targets >>> >>> When running >>> $ make -j4 clean all >>> I get error from make (pro

Re: make clean all broken with -j? + question regarding modpost

2017-08-10 Thread valdis . kletnieks
On Thu, 10 Aug 2017 17:42:51 +0200, Thomas Meyer said: > 1.) make with multiple targets > > When running > $ make -j4 clean all > I get error from make (probably in scripts/Makefile.modbuiltin): > Output from above with V=1: Possibly unrelated, but I suspect there's a bunch of weirdness lurking i

Re: make clean all broken with -j? + question regarding modpost

2017-08-10 Thread Jim Davis
On Thu, Aug 10, 2017 at 11:28 AM, Randy Dunlap wrote: > [adding linux-kbuild] > > On 08/10/2017 08:42 AM, Thomas Meyer wrote: >> Hi, >> >> 1.) make with multiple targets >> >> When running >> $ make -j4 clean all >> I get error from make (probably in scripts/Makefile.modbuiltin): With 4.13-rc4 I

Re: make clean all broken with -j? + question regarding modpost

2017-08-10 Thread Randy Dunlap
[adding linux-kbuild] On 08/10/2017 08:42 AM, Thomas Meyer wrote: > Hi, > > 1.) make with multiple targets > > When running > $ make -j4 clean all > I get error from make (probably in scripts/Makefile.modbuiltin): > Output from above with V=1: > > make -f ./scripts/Makefile.modbuiltin obj=drive

make clean all broken with -j? + question regarding modpost

2017-08-10 Thread Thomas Meyer
Hi, 1.) make with multiple targets When running $ make -j4 clean all I get error from make (probably in scripts/Makefile.modbuiltin): Output from above with V=1: make -f ./scripts/Makefile.modbuiltin obj=drivers/tty/vt make -f ./scripts/Makefile.modbuiltin obj=drivers/video/backlight (for m in ;