summaryrefslogtreecommitdiffstats
path: root/share/mk/local.sys.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/local.sys.mk')
-rw-r--r--share/mk/local.sys.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk
index ae022a1..ced441f 100644
--- a/share/mk/local.sys.mk
+++ b/share/mk/local.sys.mk
@@ -23,6 +23,10 @@ MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFILES .PATH
.endif
.endif
+.if !empty(.OBJDIR)
+OBJTOP?= ${.OBJDIR:S,${.CURDIR},,}${SRCTOP}
+.endif
+
.include "src.sys.mk"
.if ${.MAKE.MODE:Mmeta*} != ""
OpenPOWER on IntegriCloud