From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 16:18:12 2005 Return-Path: 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 F2E6316A4CE; Wed, 2 Mar 2005 16:18:11 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86EB443D1F; Wed, 2 Mar 2005 16:18:11 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j22GEv3s056936; Wed, 2 Mar 2005 09:14:57 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 02 Mar 2005 09:15:16 -0700 (MST) Message-Id: <20050302.091516.51358208.imp@bsdimp.com> To: sirmoo@cowbert.2y.net From: "M. Warner Losh" In-Reply-To: <20050224161305.GG261@cowbert.2y.net> References: <20050224145622.GE261@cowbert.2y.net> <790a9fff050224075947d6b246@mail.gmail.com> <20050224161305.GG261@cowbert.2y.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: swhetzel@gmail.com cc: freebsd-stable@FreeBSD.org cc: freebsd-questions@FreeBSD.org Subject: Re: building KLDs in RELENG_4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 16:18:12 -0000 In message: <20050224161305.GG261@cowbert.2y.net> "Peter C. Lai" writes: : On Thu, Feb 24, 2005 at 09:59:01AM -0600, Scot Hetzel wrote: : > On Thu, 24 Feb 2005 09:56:22 -0500, Peter C. Lai wrote: : > > Is there a way to build kernel modules by themselves without having to : > > build the entire kernel? I am adding umass support to a 4.x machine but : > > I don't want to build the entire kernel. I already have scbus, but I need : > > da and of course, umass. : > > : > : > Yes you can build modules seperately from a kernel build : > : > cd /usr/src/sys/modules/umass : > make obj : > make : > make install : > : > Scot : : ok. what about da? i don't have that in my kernel, even though i have scbus. : I think i'm just going to recompile the entire kernel anyway; I was just : trying to not have to back-cvs /usr/src to patch the current one I have : installed. (the more basic problem is i really should be keeping multiple : versions of /usr/src around for different versions on different machines, : but that is a separate problem). modules/cam is what you want. Hmmm, looks like you have part of it in your kernel already, so you'll not be able to do what you want. Warner