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
41ece8e7db
commit
4f4f919cf3
@ -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…
x
Reference in New Issue
Block a user