Date: Wed, 11 Aug 2004 14:38:55 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Sarunas Vancevicius <vsarunas@eircom.net> Cc: hackers <hackers@freebsd.org> Subject: Re: make "quickworld"? (like in DragonFly) Message-ID: <200408112138.i7BLctsM057865@apollo.backplane.com> References: <20040810223606.GA75648@lori.mine.nu> <20040811160721.GA955@laserbeam.sv.org>
next in thread | previous in thread | raw e-mail | index | archive | help
:As few people already mentioned, add -DCNOCLEAN flag after :makeworld or makekernel. : :And you can disable the building of most contributed :packages, like gdb, sendmail, cvs, games, etc. See make.conf(5). : :-- :Sarunas Vancevicius What 'quickworld' does in DFly is skip the bootstrap, buildtools, and cross-build steps. Since cleaning occurs before bootstrap, it also effectively skips cleaning. We have a 'realquickworld' too which also skips the 'depend' step. It's a convenience target for developers, nothing more, and considerably easier to type in then make buildworld -<shift>DNOCLEAN<unshift>. And since it skips several major steps it is a lot faster too. I figure that 99% of the time someone wants to do a make -DNOCLEAN buildworld, they would also be able to skip those steps without creating new issues. 'quickkernel' does not exist yet because I haven't investigating separating out the buildkernel steps yet. The documentation was ahead of the game, there :-) I just cd into /usr/obj/usr/src/sys/<NAME> and type 'make' there when I want a quick kernel recompile. -Matt Matthew Dillon <dillon@backplane.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408112138.i7BLctsM057865>