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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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
[-- Attachment #2 --]
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"
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1335453287.66865.46.camel>
