From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 11 21:38:58 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5963516A4CE for ; Wed, 11 Aug 2004 21:38:58 +0000 (GMT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 419BD43D1D for ; Wed, 11 Aug 2004 21:38:58 +0000 (GMT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) i7BLctds057868; Wed, 11 Aug 2004 14:38:55 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id i7BLctsM057865; Wed, 11 Aug 2004 14:38:55 -0700 (PDT) (envelope-from dillon) Date: Wed, 11 Aug 2004 14:38:55 -0700 (PDT) From: Matthew Dillon Message-Id: <200408112138.i7BLctsM057865@apollo.backplane.com> To: Sarunas Vancevicius References: <20040810223606.GA75648@lori.mine.nu> <20040811160721.GA955@laserbeam.sv.org> cc: Geert Hendrickx cc: hackers Subject: Re: make "quickworld"? (like in DragonFly) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 21:38:58 -0000 :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 -DNOCLEAN. 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/ and type 'make' there when I want a quick kernel recompile. -Matt Matthew Dillon