From owner-freebsd-questions Thu Feb 13 20:20:53 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CB3237B401 for ; Thu, 13 Feb 2003 20:20:52 -0800 (PST) Received: from notus.primus.ca (mail.tor.primus.ca [216.254.136.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F7D843FAF for ; Thu, 13 Feb 2003 20:20:51 -0800 (PST) (envelope-from leth@lethargic.dyndns.org) Received: from dialin-151-114.tor.primus.ca ([216.254.151.114] helo=lethargic.dyndns.org) by notus.primus.ca with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #3) id 18jXLF-0000EV-0A; Thu, 13 Feb 2003 23:20:50 -0500 Received: from lethargic.dyndns.org (leth@localhost [127.0.0.1]) by lethargic.dyndns.org (8.12.6/8.12.6) with ESMTP id h1E4KmEG065764; Thu, 13 Feb 2003 23:20:49 -0500 (EST) (envelope-from leth@lethargic.dyndns.org) Received: (from leth@localhost) by lethargic.dyndns.org (8.12.6/8.12.6/Submit) id h1E4KkM4065763; Thu, 13 Feb 2003 23:20:46 -0500 (EST) Date: Thu, 13 Feb 2003 23:20:46 -0500 From: Jason Hunt To: Tom Vier Cc: questions@FreeBSD.ORG Subject: Re: my "custom" kernel still builds everything Message-ID: <20030214042045.GB65676@lethargic.dyndns.org> References: <20030213071503.GA375@yzero> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030213071503.GA375@yzero> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 13, 2003 at 02:15:03AM -0500, Tom Vier wrote: > there's a few quirks i'm curiuos about. i made a custom config file, just > like i do in netbsd, however, it still builds *everything*. not only that, > but make install copies *.o into /boot/kernel/. boot time linking. a little > strange, but ok. i can't just remove any .o can i? more to the point, how do > i force it to only build and/or install selected options? > What commands are you using? Refer to Chapter 9, "Configuring the FreeBSD Kernel" in the FreeBSD Handbook for specific instructions. I believe that if you use the "new" way (make buildkernel, make installkernel) and don't specify the KERNCONF, it will default to GENERIC. I am not 100% sure about that though, it is just a guess. Can anyone confirm/deny? Personally, I always use the "old" way (/usr/sbin/config, make depend, make, make install), mainly because it's a habit. Hope this helps. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message