stop build of kernel when there is a compilation error when using make -j

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Sun Sep 8 21:15:04 EDT 2013


On Sun, 08 Sep 2013 13:33:06 +0300, Kevin Wilson said:
> However, when I use "make -j 4" and there an error, it does not
> stop immediately because of the parallel build using several CPU cores
>
> Is there a way to cause "make -j 4" to stop on the first compilation error ?

Control-C works pretty well.  If you don't want to watch it scroll by waiting
for an error, write an 'expect' script to do it for you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130908/b13dbe69/attachment.bin 


More information about the Kernelnewbies mailing list