Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2000 22:17:46 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Warner Losh <imp@village.org>
Cc:        stable@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: "make modules" kicks the first module directory twice 
Message-ID:  <Pine.BSF.4.21.0011152157110.4285-100000@besplex.bde.org>
In-Reply-To: <200011142027.NAA49799@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Nov 2000, Warner Losh wrote:

> make depend is already *REQUIRED* when you are updating a kernel from
> an older version of the kernel.  For config -r FOO kernels it isn't.

It is neither necessary nor sufficient for updating.  config -r removes
conflicting garbage from previous builds.  Removing the conflicting
garbage is sufficient.  `make clean' normally suffices to remove it,
but there are cases where .depend itself is garbage and must be removed
to unbreak `make depend'.

> Even a make clean after a make depend will require that make depend be
> run again.

This was broken in rev.1.348 of sys/conf/files, etc.  `make clean'
removes the generated bus interface headers, and there are no longer
enough dependencies for make(1) to know how to rebuild them.  There
are enough dependencies to rebuild them for `make depend', and for
plain `make' when .depend doesn't exist (minor magic involving
${BEFORE_DEPEND}).  .depend still doesn't contain all the dependencies
on headers, because at least the generated bus interface .c files are
handled too specially.

Bruce



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011152157110.4285-100000>