From owner-freebsd-hackers Tue Feb 20 6:50:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 524E437B401 for ; Tue, 20 Feb 2001 06:50:43 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.9.3) with SMTP id f1KEmpi90506; Tue, 20 Feb 2001 09:48:52 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <003001c09b4c$48226f90$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Yusuf Goolamabbas" , References: <20010220043310.28054.qmail@yusufg.portal2.com> Subject: Re: Switching from buildkernel to config seems to recompile the entire kernel Date: Tue, 20 Feb 2001 09:49:07 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I cvsup'ed my 4.2-stable box and did the usual > make buildworld > make buildkernel KERNCONF= > where KNAME is the name of theconfig file > make installkernel KERNCONF= > 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 > > 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