proper kernel config procedure ...

2001-02-19 Thread The Hermit Hacker


it u sed to be that one would do 'config -r ' to config a kernel, so
that it removed the old /sys/compile/ directory ... -r was removed,
so is it no longer required to remove the old directory before building
the new kernel, or ... ?

Marc G. Fournier   ICQ#7615664   IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: [EMAIL PROTECTED]   secondary: scrappy@{freebsd|postgresql}.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: proper kernel config procedure ...

2001-02-19 Thread Kris Kennaway

On Mon, Feb 19, 2001 at 05:45:25PM -0400, The Hermit Hacker wrote:
> 
> it u sed to be that one would do 'config -r ' to config a kernel, so
> that it removed the old /sys/compile/ directory ... -r was removed,
> so is it no longer required to remove the old directory before building
> the new kernel, or ... ?

Yes. The dependency stuff all just works, you can 'make clean' if you
really want to do a complete rebuild.

Kris

 PGP signature


Re: proper kernel config procedure ...

2001-02-19 Thread Matthew Jacob

> > it u sed to be that one would do 'config -r ' to config a kernel, so
> > that it removed the old /sys/compile/ directory ... -r was removed,
> > so is it no longer required to remove the old directory before building
> > the new kernel, or ... ?
> 
> Yes. The dependency stuff all just works, you can 'make clean' if you
> really want to do a complete rebuild.

This doesn't work 100%. In particular if you have a sys that's not part of
/usr/src/sys it doesn't always work. I've told Peter, but I think he thinks
this is a real edge case.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: proper kernel config procedure ...

2001-02-19 Thread Kris Kennaway

On Mon, Feb 19, 2001 at 04:06:23PM -0800, Matthew Jacob wrote:
> > > it u sed to be that one would do 'config -r ' to config a kernel, so
> > > that it removed the old /sys/compile/ directory ... -r was removed,
> > > so is it no longer required to remove the old directory before building
> > > the new kernel, or ... ?
> > 
> > Yes. The dependency stuff all just works, you can 'make clean' if you
> > really want to do a complete rebuild.
> 
> This doesn't work 100%. In particular if you have a sys that's not part of
> /usr/src/sys it doesn't always work. I've told Peter, but I think he thinks
> this is a real edge case.

Well, there's always rm -rf CONFIGDIR

Kris

 PGP signature


Re: proper kernel config procedure ...

2001-02-19 Thread Matthew Jacob

> > /usr/src/sys it doesn't always work. I've told Peter, but I think he thinks
> > this is a real edge case.
> 
> Well, there's always rm -rf CONFIGDIR

So I have concluded. Forward into the past!




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: proper kernel config procedure ...

2001-02-20 Thread Dag-Erling Smorgrav

Matthew Jacob <[EMAIL PROTECTED]> writes:
> This doesn't work 100%. In particular if you have a sys that's not part of
> /usr/src/sys it doesn't always work.

Yes, it does, if your sys tree is complete. There used to be a problem
building modules, but it was fixed a month or two ago.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: proper kernel config procedure ...

2001-02-20 Thread Matthew Jacob


On 20 Feb 2001, Dag-Erling Smorgrav wrote:

> Matthew Jacob <[EMAIL PROTECTED]> writes:
> > This doesn't work 100%. In particular if you have a sys that's not part of
> > /usr/src/sys it doesn't always work.
> 
> Yes, it does, if your sys tree is complete. There used to be a problem
> building modules, but it was fixed a month or two ago.

No, make clean doesn't work 100% always.  I don't remember the details, but
indeed it still was a problem.

I sent mail to David && Peter after this happened (because they both had last
been involved) and never heard back. Oh, wait- Peter muttered something about
module


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message