Source-Changes-HG archive

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

[src/trunk]: src set KERNSRCDIR rather than BSDSRCDIR



details:   https://anonhg.NetBSD.org/src/rev/ddcbd9a0b589
branches:  trunk
changeset: 485670:ddcbd9a0b589
user:      sjg <sjg%NetBSD.org@localhost>
date:      Wed May 03 00:08:13 2000 +0000

description:
set KERNSRCDIR rather than BSDSRCDIR

diffstat:

 Makefile.inc |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r ab38065e7179 -r ddcbd9a0b589 Makefile.inc
--- a/Makefile.inc      Tue May 02 22:13:20 2000 +0000
+++ b/Makefile.inc      Wed May 03 00:08:13 2000 +0000
@@ -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



Home | Main Index | Thread Index | Old Index