From owner-freebsd-questions Thu Apr 19 16:20:35 2001 Delivered-To: freebsd-questions@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 6BC3B37B424 for ; Thu, 19 Apr 2001 16:20:31 -0700 (PDT) (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.11.3) with SMTP id f3JNIEp22761; Thu, 19 Apr 2001 19:18:18 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <02a401c0c926$d5035700$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Leif Neland" , References: Subject: Re: Building kernel without making .depend Date: Thu, 19 Apr 2001 19:16:54 -0400 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-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > If I just change something in one source file, which doesn't change the > dependencies, is it possible to just compile that file, not remaing > .depends? > > /usr/src # make -DNOCLEAN kernel KERNCONF=MYCONFIG > > helps avoiding recompiling the entire kernel, but I'd like also avoiding > redoing .depends I commonly change into the kernel build directory (/usr/src/sys/compile/MYCONFIG) and issue a 'make' from there. This will pick up any changes that were made to dependent files, but won't redo the depends. > Is it also possible to avoid doing anything in modules? Yes, specify NO_MODULES=yes on the make command line, or add it to /etc/make.conf. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message