Re: Is it safe to interrupt (Ctrl + C) while building a port or

看板FB_questions作者時間14年前 (2011/11/04 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/9 (看更多)
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"
文章代碼(AID): #1EinPZzQ (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1EinPZzQ (FB_questions)