From owner-freebsd-current Mon Nov 13 10:53: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id E975937B479; Mon, 13 Nov 2000 10:53:04 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 6D63439C; Mon, 13 Nov 2000 10:52:37 -0800 (PST) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id KAA23680; Mon, 13 Nov 2000 10:52:37 -0800 (PST) Message-ID: <3A103875.3555E3D4@cup.hp.com> Date: Mon, 13 Nov 2000 13:52:37 -0500 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: stable@FreeBSD.ORG Cc: Makoto MATSUSHITA , current@FreeBSD.ORG Subject: Re: "make modules" kicks the first module directory twice References: <3A0F9ED8.A56CA34E@cup.hp.com> <20001113195111R.matusita@jp.FreeBSD.org> <20001113095855.C38404@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > On Mon, Nov 13, 2000 at 07:51:11PM +0900, Makoto MATSUSHITA wrote: > > ! cd $S/modules && env ${MKMODULESENV} ${MAKE} obj all > > --- 310,322 ---- > > ! cd $S/modules && env ${MKMODULESENV} ${MAKE} obj > > ! cd $S/modules && env ${MKMODULESENV} ${MAKE} all > > I can certainly commit this type of fix. The combined make invocation > was an optimization someone recommended. No you can't. $S expands to "../.." which only works for the first cd in the -jX case. The second cd will fail. -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message