From owner-freebsd-hackers Mon Jun 25 10:43:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 473FB37B40B for ; Mon, 25 Jun 2001 10:43:28 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.3/8.11.2) with ESMTP id f5PHgwI18455; Mon, 25 Jun 2001 10:42:58 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010624132329.A507@ringworld.oblivion.bg> Date: Mon, 25 Jun 2001 12:16:49 -0700 (PDT) From: John Baldwin To: Peter Pentchev Subject: Re: Two Junior Kernel Hacker tasks.. Cc: Terry Lambert Cc: Terry Lambert , Valentin Nechayev , hackers@FreeBSD.org 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 On 24-Jun-01 Peter Pentchev wrote: > On Sat, Jun 23, 2001 at 10:44:51PM -0700, John Baldwin wrote: >> >> On 23-Jun-01 Peter Pentchev wrote: >> > On Sat, Jun 23, 2001 at 12:23:35PM -0700, Terry Lambert wrote: >> >> > 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). >> > >> > About the release process, you are right, it is a bit harder >> > to restart without some tweaks, but the buildkernel target >> > is about as restartable as it can be. (I really don't think >> > anyone would ever advocate skipping the config(8) or >> > the 'make depend' stage..) >> >> Actually, make depend takes a relatively long time, and when >> I'm hacking on a kernel, I don't want to wait 15 minutes to >> build a kernel after changing one file. I compile kernels >> w/o config or make depend a lot. > > OK, so if you're really really sure your changes do not affect > the dependency graph, use -DNOKERNELDEPEND :) make ; make install is a _lot_ shorter to type than: make -DNOKERNELDEPEND -DDOWHATIWANTDANGIT -DDONTDOTHIS -DDONTDOTHATOTHERTHINGEITHER buildkernel ; make -DDONTINSTALLFOO -DDONTTRYTODOTHIS installkernel And I won't even mention 'make reinstall'... -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message