Follow-up r325405: Fix assertion still for kernel module builds.
Apparently they have SRCTOP set, but won't have RELDIR set since they are not in-tree. Pointyhat to: bdrewery Reported by: O. Hartmann <ohartmann@walstatt.org>, dhw Tested by: dhw Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
9f23a54e52
commit
c6d98d62e2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325437
@ -85,7 +85,7 @@ OBJTOP?= ${MAKEOBJDIR}
|
||||
CANONICALOBJDIR:=/usr/obj${.CURDIR}
|
||||
.endif
|
||||
|
||||
.if defined(SRCTOP) && \
|
||||
.if defined(SRCTOP) && defined(RELDIR) && \
|
||||
(${CANONICALOBJDIR} == /${RELDIR} || ${.OBJDIR} == /${RELDIR})
|
||||
.error .OBJDIR incorrectly set to /${RELDIR}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user