From owner-freebsd-stable Tue Nov 14 12:27:40 2000 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id EB76937B479; Tue, 14 Nov 2000 12:27:34 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eAEKRXR13252; Tue, 14 Nov 2000 13:27:33 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA49799; Tue, 14 Nov 2000 13:27:33 -0700 (MST) Message-Id: <200011142027.NAA49799@harmony.village.org> To: stable@FreeBSD.ORG Subject: Re: "make modules" kicks the first module directory twice Cc: current@FreeBSD.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> <3A1030BA.D6CB42D0@cup.hp.com> <20001113144152.A39590@dragon.nuxi.com> <3A10896D.E782256@cup.hp.com> <200011140417.VAA37024@harmony.village.org> Date: Tue, 14 Nov 2000 13:27:32 -0700 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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