diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2014-11-21 18:18:37 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2014-11-21 18:18:37 +0000 |
commit | e163efb6c70d41c39fde25151d6bafc30a8bae9b (patch) | |
tree | 03940cf374f49a0bacd0b1ce8435898ba10bf412 /Makefile.inc1 | |
parent | 6f58afed594dbab8e23db6bc4fcc77ff2211b1f6 (diff) | |
download | src-e163efb6c70d41c39fde25151d6bafc30a8bae9b.tar.gz src-e163efb6c70d41c39fde25151d6bafc30a8bae9b.zip |
Add a guard against attempting to invoke the buildenv target with -j# as
that silently exits rather than doing something useful.
MFC after: 1 week
Sponsored by: DARPA, AFRL
Notes
Notes:
svn path=/head/; revision=274806
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 8cbd58f5afc2..625e8324587c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -691,6 +691,11 @@ buildworld_epilogue: buildenvvars: @echo ${WMAKEENV:Q} +.if ${.TARGETS:Mbuildenv} +.if ${.MAKEFLAGS:M-j} +.error The buildenv target is incompatible with -j +.endif +.endif buildenv: @echo Entering world for ${TARGET_ARCH}:${TARGET} @cd ${.CURDIR} && env ${WMAKEENV} ${BUILDENV_SHELL} || true |