summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorsjg <sjg@NetBSD.org>2000-05-03 00:08:13 +0000
committersjg <sjg@NetBSD.org>2000-05-03 00:08:13 +0000
commit89d94dac9b782950d3e368d2bddd6dee82e2178d (patch)
tree861addff64a3d6c4ddfbba887c965fb60134fedb /Makefile.inc
parent8bcd56bd125409b31f2fa422c2df5140c6776488 (diff)
set KERNSRCDIR rather than BSDSRCDIR
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 6cad170b487..d7265c09913 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile.inc,v 1.1 2000/05/02 03:47:19 sjg Exp $
+# $NetBSD: Makefile.inc,v 1.2 2000/05/03 00:08:13 sjg Exp $
.ifndef ABSTOP
ABSTOP!= cd ${.PARSEDIR}; pwd
RELTOP:= ${.PARSEDIR:S,^${.CURDIR},,}
-BSDSRCDIR?= ${ABSTOP}
+KERNSRCDIR:=${ABSTOP}/sys
-.if exists(${BSDSRCDIR}/Makefile.local.inc)
-.include "${BSDSRCDIR}/Makefile.local.inc"
+# you can set BSD{SRC,OBJ}DIR in Makefile.local.inc
+.if exists(${ABSTOP}/Makefile.local.inc)
+.include "${ABSTOP}/Makefile.local.inc"
.endif
.endif