On Thu, 03 Nov 2011 22:48:26 +0400 Антон Клесс <[email protected]> wrote:
> 03.11.2011, 21:20, "Robert Bonomi" <[email protected]>: > > >> If it's so, do I need to run "make clean" before I start "make" > >> one more time? > > Authoritative answer: "It depends". > > > > On what you 'did wrong", and what it takes to fix it. > > > > e.g., if you're building a kernel the 'classial' way, that is > > 'configure, make depend, cd , make', and 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? > > > make buildkernel > > .. > oh! something wrong! > <Ctrl> + <C> > .. > mistake fixed! > > > make buildkernel > > make 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 [email protected] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
