Fix the .MAKE added in r251750 to properly support the historical -n -n.
The condition used matches the condition in sys.mk for setting _+_ to blank or +. With this -n will continue to not descend into Makefile.inc1, while -n -n will and cause Makefile.inc1's target to run with -n. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
10d8d828d3
commit
fa5e9cbbd7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288391
4
Makefile
4
Makefile
@ -243,9 +243,9 @@ cleanworld:
|
|||||||
# Handle the user-driven targets, using the source relative mk files.
|
# 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
|
# 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
|
${TGTS}: .MAKE
|
||||||
tinderbox toolchains kernel-toolchains: .MAKE
|
tinderbox toolchains kernel-toolchains: .MAKE
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user