Re: Is it safe to interrupt (Ctrl + C) while building a port or
On Thu, 03 Nov 2011 22:48:26 +0400
慔婘츠輲籣팠<rc5hack@yandex.ru> wrote:
> 03.11.2011, 21:20, "Robert Bonomi" <bonomi@mail.r-bonomi.com>:
>
> >> 骚If it's so, do I need to run "make clean" before I start "make"
> >> one more time?
> > ⒈uthoritative answer: 騢It depends".
> >
> > ⒖n what you 'did wrong", and what it takes to fix it.
> >
> > 嶶.g., 幈f you're building a kernel the 'classial' way, that is
> > 'configure, make depend, cd , make', 嵻nd realize you left
> > something out of the config file, after you edit the config file,
> > you have to rerun _all_ those steps.
>
> Does it matter, if I always use "make buildkernel make installkernel"
> way to rebuild kernels?
>
> > 彲ake buildkernel
>
> ..
> oh! something wrong!
> <Ctrl> + <C>
> ..
> mistake fixed!
>
> > 彲ake buildkernel
> > 彲ake installkernel
>
> - is right?
That's fine, yes. But I wouldn't do an unconditional installkernel
after buildkernel (suppose buildkernel failed in some way)?
Either include both targets in the same make command:
make buildkernel installkernel
Or make the second conditional on the outcome of the first:
make buildkernel && make installkernel
You might also save yourself some time by using "-DNO_CLEAN" after
changing your kernel config.
--
Conrad J. Sabatier
conrads@cox.net
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 9 之 9 篇):