From owner-freebsd-embedded@FreeBSD.ORG Thu Apr 26 23:13:24 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A743110657C0 for ; Thu, 26 Apr 2012 23:13:24 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 606A18FC0A for ; Thu, 26 Apr 2012 23:13:24 +0000 (UTC) Received: from [10.0.0.63] (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q3QN9nJ2093738 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Thu, 26 Apr 2012 17:09:51 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <1335453287.66865.46.camel@revolution.hippie.lan> Date: Thu, 26 Apr 2012 17:09:49 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1335453287.66865.46.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Thu, 26 Apr 2012 17:09:51 -0600 (MDT) Cc: freebsd-embedded@freebsd.org Subject: Re: make -jN xdev can fail X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2012 23:13:24 -0000 Hi Ian, Good catch! I've never hit this, but most of the time I don't do -j = builds. Warner On Apr 26, 2012, at 9:14 AM, Ian Lepore wrote: > I discovered 'make xdev' can fail with -jN because it tries to run the > xdev-install step while xdev-build is still running. >=20 > The attached patch makes xdev-install depend on xdev-build to fix it. >=20 > -- Ian >=20 > Index: Makefile.inc1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Makefile.inc1 (revision 234710) > +++ Makefile.inc1 (working copy) > @@ -1649,8 +1649,8 @@ > mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ > -p ${XDDESTDIR}/usr/include >/dev/null >=20 > -.ORDER: _xi-mtree _xi-cross-tools _xi-includes _xi-libraries = _xi-links > -xdev-install: _xi-mtree _xi-cross-tools _xi-includes _xi-libraries = _xi-links > +.ORDER: xdev-build _xi-mtree _xi-cross-tools _xi-includes = _xi-libraries _xi-links > +xdev-install: xdev-build _xi-mtree _xi-cross-tools _xi-includes = _xi-libraries _xi-links >=20 > _xi-cross-tools: > @echo "_xi-cross-tools" > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to = "freebsd-embedded-unsubscribe@freebsd.org"