Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk if make(obj) then use MAKEOBJDIRPREFIX regardless



details:   https://anonhg.NetBSD.org/src/rev/45efc2ce7ac0
branches:  trunk
changeset: 485809:45efc2ce7ac0
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sat May 06 07:41:59 2000 +0000

description:
if make(obj) then use MAKEOBJDIRPREFIX regardless

diffstat:

 share/mk/bsd.kernobj.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0d5eab912854 -r 45efc2ce7ac0 share/mk/bsd.kernobj.mk
--- a/share/mk/bsd.kernobj.mk   Sat May 06 06:27:42 2000 +0000
+++ b/share/mk/bsd.kernobj.mk   Sat May 06 07:41:59 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kernobj.mk,v 1.2 2000/05/03 00:10:33 sjg Exp $
+#      $NetBSD: bsd.kernobj.mk,v 1.3 2000/05/06 07:41:59 sjg Exp $
 
 #   KERNSRCDIR points to kernel source; it is set by default to ../sys,
 #      but can be overridden.
@@ -17,7 +17,7 @@
 # just incase ${MACHINE} is not always correct
 KERNARCHDIR?=  arch/${MACHINE}
 
-.if exists(${MAKEOBJDIRPREFIX}${KERNSRCDIR}/${KERNARCHDIR}/compile)
+.if make(obj) || exists(${MAKEOBJDIRPREFIX}${KERNSRCDIR}/${KERNARCHDIR}/compile)
 KERNOBJDIR?=   ${MAKEOBJDIRPREFIX}${KERNSRCDIR}/${KERNARCHDIR}/compile
 .else
 KERNOBJDIR?=   ${KERNSRCDIR}/${KERNARCHDIR}/compile



Home | Main Index | Thread Index | Old Index