mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 14:31:48 +01:00
Need to test .MAKE.LEVEL everywhere before using it for bootstrapping
issues between fmake and bmake.
This commit is contained in:
parent
aa5cdf0136
commit
35074a0a2b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264239
@ -440,7 +440,7 @@ MK_${var}:= yes
|
||||
.error WITH_${var} and WITHOUT_${var} can't both be set.
|
||||
.endif
|
||||
.if defined(MK_${var})
|
||||
.if ${.MAKE.LEVEL} == 0
|
||||
.if defined(.MAKE.LEVEL) && ${.MAKE.LEVEL} == 0
|
||||
.error MK_${var} can't be set by a user.
|
||||
.endif
|
||||
.else
|
||||
@ -601,7 +601,7 @@ MK_${vv:H}:= ${MK_${vv:T}}
|
||||
.error WITH_${var} and WITHOUT_${var} can't both be set.
|
||||
.endif
|
||||
.if defined(MK_${var})
|
||||
.if ${.MAKE.LEVEL} == 0
|
||||
.if defined(.MAKE.LEVEL) && ${.MAKE.LEVEL} == 0
|
||||
.error MK_${var} can't be set by a user.
|
||||
.endif
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user