objwarn should be .PHONY.
Otherwise in META_MODE it may create an objwarn.meta if only bsd.obj.mk is included; bsd.sys.mk already had .PHONY: objwarn. MFC after: 3 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
cde3f930bc
commit
85ec50508a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320191
@ -102,7 +102,7 @@ OBJTOP?= ${.OBJDIR:S,${.CURDIR},,}${SRCTOP}
|
||||
# case 2 (using MAKEOBJDIR), don't issue a warning. Otherwise,
|
||||
# issue a warning differentiating between cases 6 and (3 or 4).
|
||||
#
|
||||
objwarn:
|
||||
objwarn: .PHONY
|
||||
.if !defined(NO_OBJ) && ${.OBJDIR} != ${CANONICALOBJDIR} && \
|
||||
!(defined(MAKEOBJDIRPREFIX) && exists(${CANONICALOBJDIR}/)) && \
|
||||
!(defined(MAKEOBJDIR) && exists(${MAKEOBJDIR}/))
|
||||
|
Loading…
Reference in New Issue
Block a user