From owner-freebsd-questions@FreeBSD.ORG Wed Apr 2 12:06:04 2003 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 2D7FC37B407 for ; Wed, 2 Apr 2003 12:06:04 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 11B7643F75 for ; Wed, 2 Apr 2003 12:06:03 -0800 (PST) (envelope-from mwm-dated-1049745962.627a06@mired.org) Received: (qmail 71645 invoked from network); 2 Apr 2003 20:06:02 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 2 Apr 2003 20:06:02 -0000 Received: by guru.mired.org (tmda-inject, from uid 100); Wed, 02 Apr 2003 14:06:02 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16011.17065.543322.238889@guru.mired.org> Date: Wed, 2 Apr 2003 14:06:01 -0600 To: Antoine Jacoutot In-Reply-To: <200304022035.15679.ajacoutot@lphp.org> References: <200304022011.57634.ajacoutot@lphp.org> <16011.10924.634069.890451@guru.mired.org> <200304022035.15679.ajacoutot@lphp.org> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.73 (Jet Pilot) cc: freebsd-questions@FreeBSD.ORG Subject: Re: rebuild one module 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 Apr 2003 20:06:04 -0000 In <200304022035.15679.ajacoutot@lphp.org>, Antoine Jacoutot typed: > On Wednesday 02 April 2003 20:23, Mike Meyer wrote: > > Well, what are you doing now to build the kernel? You should be able > > to use the classic kernel build method, except you don't have to > > repeat any of the steps but "make". > > What I am doing is > $ cd /usr/src > $ make buildkernel KERNCONF=MY_CONF > $ make installkernel KERNCONF=MY_CONF > > Then I reboot the machine. But I don't want to rebuild the kernel each time I > change one line in the emu10k1... I want to be able to just rebuild the > module itself. That's the way to rebuild new sources. Try: $ cd /usr/src/sys/i386/conf $ config MY_CONF $ cd ../../compile/MY_CONF $ make depend $ make $ make install The first time, that will rebuild everything. From then on out, just do the last two make's to rebuild and install what changed. Actually, just "make install" may do the trick, but I'm not sure about that. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.