interrupting the compile process and restart from where I stopped
Hi, is there a way I can interrupt the ongoing kernel compile process and power off my machine and when I can get back to it then restart from where I had stopped the kernel compilation which I had interrupted.
On Tue, Mar 01, 2011 at 10:04:23AM +0530, Tapas Mishra wrote:
Hi, is there a way I can interrupt the ongoing kernel compile process and power off my machine and when I can get back to it then restart from where I had stopped the kernel compilation which I had interrupted.
Hit ctrl-c to stop the build. Then go back to the directory and type 'make' like before, it will pick up where it left off. Hope this helps, greg k-h
On Tue, Mar 1, 2011 at 11:23 AM, Greg KH <greg@kroah.com> wrote:
On Tue, Mar 01, 2011 at 10:04:23AM +0530, Tapas Mishra wrote:
Hi, is there a way I can interrupt the ongoing kernel compile process and power off my machine and when I can get back to it then restart from where I had stopped the kernel compilation which I had interrupted.
Hit ctrl-c to stop the build. Then go back to the directory and type 'make' like before, it will pick up where it left off.
Hope this helps,
greg k-h
Ohh ok yes this helps I was not aware of this option.Thanks.
On Tue, Mar 1, 2011 at 11:34, Tapas Mishra <mightydreams@gmail.com> wrote:
Hi, is there a way I can interrupt the ongoing kernel compile process and power off my machine and when I can get back to it then restart from where I had stopped the kernel compilation which I had interrupted.
AFAIK, just press Ctrl-C few times and wait 'til it really finish in the point you want. Next time, typing "make" again will pick starting from the point you left. It is doable since "make" check timestamp and whether an object file for certain target has been made or not PS: just don't press Ctrl-C like crazy :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
participants (3)
-
Greg KH -
Mulyadi Santosa -
Tapas Mishra