Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 14:06:01 -0600
From:      Mike Meyer <mwm-dated-1049745962.627a06@mired.org>
To:        Antoine Jacoutot <ajacoutot@lphp.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: rebuild one module
Message-ID:  <16011.17065.543322.238889@guru.mired.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
In <200304022035.15679.ajacoutot@lphp.org>, Antoine Jacoutot <ajacoutot@lphp.org> 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.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16011.17065.543322.238889>