Source-Changes-HG archive

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

[src/trunk]: src/share/mk Only try to KERNOBJDIR!= if the required director...



details:   https://anonhg.NetBSD.org/src/rev/0f6e3625a247
branches:  trunk
changeset: 553172:0f6e3625a247
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Oct 11 08:05:57 2003 +0000

description:
Only try to  KERNOBJDIR!=  if the required directory exists.

diffstat:

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

diffs (17 lines):

diff -r 174f3c6a4e4e -r 0f6e3625a247 share/mk/bsd.kernobj.mk
--- a/share/mk/bsd.kernobj.mk   Sat Oct 11 07:54:26 2003 +0000
+++ b/share/mk/bsd.kernobj.mk   Sat Oct 11 08:05:57 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kernobj.mk,v 1.11 2003/07/18 04:04:03 lukem Exp $
+#      $NetBSD: bsd.kernobj.mk,v 1.12 2003/10/11 08:05:57 lukem Exp $
 
 # KERNSRCDIR   Is the location of the top of the kernel src.
 #              It defaults to `${NETBSDSRCDIR}/sys'.
@@ -21,6 +21,6 @@
 KERNSRCDIR?=   ${NETBSDSRCDIR}/sys
 KERNARCHDIR?=  arch/${MACHINE}
 KERNCONFDIR?=  ${KERNSRCDIR}/${KERNARCHDIR}/conf
-.if !defined(KERNOBJDIR)
+.if !defined(KERNOBJDIR) && exists(${KERNSRCDIR}/${KERNARCHDIR}/compile)
 KERNOBJDIR!=   cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
 .endif



Home | Main Index | Thread Index | Old Index