Partial MFC r291349:
Standardize on OBJTOP in and outside of META MODE. For stable/10 this means bringing OBJTOP support in which simplifies MFCs.
This commit is contained in:
parent
54d1dbbb2e
commit
4d74a8776e
@ -46,10 +46,13 @@ __<bsd.obj.mk>__:
|
||||
CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR}
|
||||
.elif defined(MAKEOBJDIR) && ${MAKEOBJDIR:M/*} != ""
|
||||
CANONICALOBJDIR:=${MAKEOBJDIR}
|
||||
OBJTOP?= ${MAKEOBJDIR}
|
||||
.else
|
||||
CANONICALOBJDIR:=/usr/obj${.CURDIR}
|
||||
.endif
|
||||
|
||||
OBJTOP?= ${.OBJDIR:S,${.CURDIR},,}${SRCTOP}
|
||||
|
||||
#
|
||||
# Warn of unorthodox object directory.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user