Don't add MACHINE to BUILDDIR if it's already added to BSDOBJDIR.

This commit is contained in:
cjs 1997-05-30 05:50:16 +00:00
parent 39cef8b32a
commit a71bce3f88
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.46 1997/05/29 19:53:32 cjs Exp $
# $NetBSD: bsd.own.mk,v 1.47 1997/05/30 05:50:16 cjs Exp $
# This file may be included multiple times without harm.
@ -64,7 +64,7 @@ OBJDIR= ${BSDOBJDIR}
# this is DESTDIR or just nothing at all (root of current system).
.if ! defined(BUILDDIR)
.if exists(${OBJDIR})
.if defined(OBJMACHINE)
.if defined(OBJMACHINE) && !defined(USR_OBJMACHINE)
BUILDDIR= ${OBJDIR}/build.${MACHINE}
.else
BUILDDIR= ${OBJDIR}/build