make "quickworld"? (like in DragonFly)

Matthew Dillon dillon at apollo.backplane.com
Wed Aug 11 14:38:58 PDT 2004


: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 at backplane.com>


More information about the freebsd-hackers mailing list