Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 09:14:47 -0600
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        freebsd-embedded@freebsd.org
Subject:   make -jN xdev can fail
Message-ID:  <1335453287.66865.46.camel@revolution.hippie.lan>

next in thread | raw e-mail | index | archive | help

--=-O7C5pQjd1owkfukk6PcR
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

I discovered 'make xdev' can fail with -jN because it tries to run the
xdev-install step while xdev-build is still running.

The attached patch makes xdev-install depend on xdev-build to fix it.

-- Ian


--=-O7C5pQjd1owkfukk6PcR
Content-Disposition: inline; filename="makexdev.diff"
Content-Type: text/x-patch; name="makexdev.diff"; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Index: Makefile.inc1
===================================================================
--- 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
 
-.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
 
 _xi-cross-tools:
 	@echo "_xi-cross-tools"

--=-O7C5pQjd1owkfukk6PcR--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1335453287.66865.46.camel>