*BSD News Article 31400


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!kralizec.zeta.org.au!not-for-mail
From: bde@kralizec.zeta.org.au (Bruce Evans)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Kernel config bug?
Date: 8 Jun 1994 23:29:47 +1000
Organization: Kralizec Dialup Unix Sydney - +61-2-837-1183, v.32bis v.42bis
Lines: 14
Message-ID: <2t4h4b$src@kralizec.zeta.org.au>
References: <1994Jun6.092411.334@robkaos.ping.de> <STARK!GENE.94Jun6105850@stark.uucp> <Cr165E.3z6r@austin.ibm.com>
NNTP-Posting-Host: kralizec.zeta.org.au

In article <Cr165E.3z6r@austin.ibm.com>,
Radha Krishnan <radha@austin.ibm.com> wrote:

>And only then got the correct kernel. I guess the Makefiles may need to be 
>verified for correctness or we may be having a problem in "make" itself.

The kernel Makefile in FreeBSD is very incomplete.  It does not handle
dependencies on options in any worthwhile way, and most of the
hand-generated dependencies are wrong.  E.g., the one for machdep.o.

The usual workaround is to do a "make clean" in the kernel object directory
after _any_ change to the options or the system header files.
-- 
Bruce Evans  bde@kralizec.zeta.org.au