MFC r288391:

Fix the .MAKE added in r251750 to properly support the historical -n -n.
This commit is contained in:
bdrewery 2015-10-13 18:44:55 +00:00
parent 3b729f879d
commit 3ce05314f3

View File

@ -245,9 +245,9 @@ cleanworld:
# Handle the user-driven targets, using the source relative mk files.
#
.if empty(.MAKEFLAGS:M-n)
.if !(!empty(.MAKEFLAGS:M-n) && ${.MAKEFLAGS:M-n} == "-n")
# skip this for -n to avoid changing previous behavior of
# 'make -n buildworld' etc.
# 'make -n buildworld' etc. Using -n -n will run it.
${TGTS}: .MAKE
tinderbox toolchains kernel-toolchains: .MAKE
.endif