From owner-freebsd-hackers Sat Jun 23 23:38: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 2279237B401; Sat, 23 Jun 2001 23:37:58 -0700 (PDT) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id JON79119; Sun, 24 Jun 2001 09:37:47 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.4/8.11.4) id f5NLVQ000779; Sun, 24 Jun 2001 00:31:26 +0300 (EEST) (envelope-from netch) Date: Sun, 24 Jun 2001 00:31:26 +0300 From: Valentin Nechayev To: Terry Lambert Cc: John Baldwin , hackers@FreeBSD.ORG Subject: Re: Two Junior Kernel Hacker tasks.. Message-ID: <20010624003126.A735@iv.nn.kiev.ua> References: <20010623081844.B982@iv.nn.kiev.ua> <3B34ECB7.CF7F4047@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B34ECB7.CF7F4047@mindspring.com>; from tlambert2@mindspring.com on Sat, Jun 23, 2001 at 12:23:35PM -0700 X-42: On Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sat, Jun 23, 2001 at 12:23:35, tlambert2 (Terry Lambert) wrote about "Re: Two Junior Kernel Hacker tasks..": > > make buildkernel is rather easy way to work it around: in > > any case object tree is machine-dependent, and one yet > > another directory does not destroy anything. ;| > The "make buildkernel" approach sucks for incremental > builds, since you are unable to avoid the "config" run > each time, and a lot of unnecessary stuff gets compiled > again because of opt_*.h files whose contents have not > changed (even if you defeat the clean of the compile > directory). It is mostly problem of current implementation. You can define some variables (NO_KERNELDEPEND, NOCLEAN, NO_KERNELCONFIG) and avoid it, if you are sure you can do it in this way. I said about the right idea to move last rarity - kernel building - outside from /usr/src, to /usr/obj or another object prefix. > The "make release" process has similar problems, for Of course, and `make buildworld' also. But for most cases -DNOCLEAN is enough to skip unnesessary steps. /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message