Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 09:49:07 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Yusuf Goolamabbas" <yusufg@outblaze.com>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Switching from buildkernel to config seems to recompile the entire kernel
Message-ID:  <003001c09b4c$48226f90$1200a8c0@gsicomp.on.ca>
References:  <20010220043310.28054.qmail@yusufg.portal2.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I cvsup'ed my 4.2-stable box and did the usual
> make buildworld
> make buildkernel KERNCONF=<KNAME>
>                 where KNAME is the name of theconfig file
> make installkernel KERNCONF=<KNAME>
> make installworld
>
> and then rebooted the box. A short while I modified my kernel config
> to remove sl and ppp. I then did a /usr/sbin/config <KNAME>
>
> This seems to recompile all the modules and the entire kernel even though
> I expected only a few things to be recompiled and the kernel relinked

A surprising number of things get recompiled when the slightest change is
made to a kernel configuration. I've often wondered myself why removing one
line (such as psuedo-device bpf) forces lots of stuff to be recompiled (like
the ahc driver).

--
Matt Emmerton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003001c09b4c$48226f90$1200a8c0>