Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2000 13:27:32 -0700
From:      Warner Losh <imp@village.org>
To:        stable@FreeBSD.ORG
Cc:        current@FreeBSD.ORG
Subject:   Re: "make modules" kicks the first module directory twice 
Message-ID:  <200011142027.NAA49799@harmony.village.org>
In-Reply-To: Your message of "Tue, 14 Nov 2000 12:12:37 PST." <20001114121237.A78808@dragon.nuxi.com> 
References:  <20001114121237.A78808@dragon.nuxi.com>  <3A10896D.E782256@cup.hp.com> <Pine.BSF.4.21.0011131953001.646-100000@besplex.bde.org> <3A1030BA.D6CB42D0@cup.hp.com> <20001113144152.A39590@dragon.nuxi.com> <3A10896D.E782256@cup.hp.com> <200011140417.VAA37024@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20001114121237.A78808@dragon.nuxi.com> "David O'Brien" writes:
: On Mon, Nov 13, 2000 at 09:17:54PM -0700, Warner Losh wrote:
: > The implications are that make obj isn't done unless you've run make
: > depend first.  If a new directory is added and a make depend isn't
: > run, then the modules won't get built into the obj tree, but instead
: > will be built into $S/modules.
: 
: Having modules wind up in two trees is not acceptable IMHO.

But they are both in the $S tree. :-)

: I'd rather take a major compile time hit and be deterministic than not.

I'd rather not.  We don't do an implicit make obj in the rest of the
tree.  If I go build the world, and then someone adds a new program to
the tree, you are in the same boat.  If you cd to that program and
type make it will wind up in . rather than /usr/obj.  Completely
deterministic, the same thing will happen every time you do the
scenario.

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.
Even a make clean after a make depend will require that make depend be
run again.

But before making major changes to this, let's see Peter Wemm's new
all singing all dancing config work does for us.  I'd rather see what
he's come up with than argue further on this.

Warner


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?200011142027.NAA49799>