Date: Wed, 2 Apr 2003 20:49:19 +0100 From: Scott Mitchell <scott+freebsd@fishballoon.org> To: Antoine Jacoutot <ajacoutot@lphp.org> Cc: freebsd-questions@freebsd.org Subject: Re: rebuild one module Message-ID: <20030402194919.GC517@tuatara.fishballoon.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 02, 2003 at 08:35:15PM +0200, Antoine Jacoutot wrote: > 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. > > Antoine You could either use: # make buildkernel -DNOCLEAN KERNCONF=MY_CONF or you could just: # cd /sys/modules/sound/driver/emu10k1 # make install If you're careful about what's using the driver you can probably get away with just unloading and reloading the module to test your changes, rather than rebooting every time. Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030402194919.GC517>