diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2013-06-14 16:30:11 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2013-06-14 16:30:11 +0000 |
| commit | d31870574cfb30b4a084a3a566d8d3fc7c8bb11b (patch) | |
| tree | 317c547b327a7d5350246671986e0bdfaed1193c | |
| parent | a7e08b461edd1a5322ab0c8ebb45e93dbe927f2c (diff) | |
Notes
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | Makefile.inc1 | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -209,6 +209,12 @@ cleanworld: # Handle the user-driven targets, using the source relative mk files. # +.if empty(.MAKEFLAGS:M-n) +# skip this for -n to avoid changing previous behavior of +# 'make -n buildworld' etc. +${TGTS}: .MAKE +.endif + ${TGTS}: ${_+_}@cd ${.CURDIR}; ${_MAKE} ${.TARGET} diff --git a/Makefile.inc1 b/Makefile.inc1 index 78f98e82e00e..2b49ab808559 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1890,3 +1890,5 @@ _xi-links: xdev xdev-build xdev-install: @echo "*** Error: Both XDEV and XDEV_ARCH must be defined for \"${.TARGET}\" target" .endif + +buildkernel ${WMAKE_TGTS} ${.ALLTARGETS:M_*}: .MAKE |
