From owner-freebsd-current Sun Nov 12 22:57:15 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E8A8037B479; Sun, 12 Nov 2000 22:57:11 -0800 (PST) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eAD6vAR04791; Sun, 12 Nov 2000 23:57:10 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.1/8.8.3) with ESMTP id eAD6wdG38522; Sun, 12 Nov 2000 23:58:39 -0700 (MST) Message-Id: <200011130658.eAD6wdG38522@billy-club.village.org> To: Makoto MATSUSHITA Subject: Re: "make modules" kicks the first module directory twice Cc: current@FreeBSD.ORG, stable@FreeBSD.ORG In-reply-to: Your message of "Mon, 13 Nov 2000 14:58:12 +0900." <20001113145812F.matusita@jp.FreeBSD.org> References: <20001113145812F.matusita@jp.FreeBSD.org> <3A085F93.BC245A53@cup.hp.com> Date: Sun, 12 Nov 2000 23:58:39 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001113145812F.matusita@jp.FreeBSD.org> Makoto MATSUSHITA writes: : It does not fix this problem. However, if we separate the execution of : "make obj" and "make all", we can avoid (again, not *fix*) the problem. : Maybe this change is reasonable; there is few meaning doing "make : kernel-depend" in "doMODULES" target. I think that make has no business doing an implicit make obj for the all target. I have been running with patches in my tree that doesn't do the obj target if .depend exists. Of course, you have to be more careful about running make depend in that case, but right now the make obj in the all target is hiding this problem. So I would agree with your patch and your proposal. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message