aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.stage.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.stage.mk b/Mk/bsd.stage.mk
index 265276231fae..0eeb43fbf0fc 100644
--- a/Mk/bsd.stage.mk
+++ b/Mk/bsd.stage.mk
@@ -16,9 +16,9 @@ stage-dir:
@${MKDIR} ${STAGEDIR}${PREFIX}
.if !defined(NO_MTREE)
@${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${PREFIX} > /dev/null
-.if defined(USE_LINUX) && ${PREFIX} != ${LINUXBASE_REL}
- @${MKDIR} ${STAGEDIR}${LINUXBASE_REL}
- @${MTREE_CMD} ${MTREE_LINUX_ARGS} ${STAGEDIR}${LINUXBASE_REL} > /dev/null
+.if defined(USE_LINUX) && ${PREFIX} != ${LINUXBASE}
+ @${MKDIR} ${STAGEDIR}${LINUXBASE}
+ @${MTREE_CMD} ${MTREE_LINUX_ARGS} ${STAGEDIR}${LINUXBASE} > /dev/null
.endif
.endif
.endif