summaryrefslogtreecommitdiff
path: root/share/mk/bsd.lkm.mk
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-01 11:35:46 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-01 11:35:46 +0000
commit5ced8c14d3904251b81acf655f6183d933bc0746 (patch)
treea35c005ef8776e63794cffdd03bc51410460a078 /share/mk/bsd.lkm.mk
parentc02a27bdb202eb0e86b48ea2cbae9805928417ba (diff)
Comment my recent change
Diffstat (limited to 'share/mk/bsd.lkm.mk')
-rw-r--r--share/mk/bsd.lkm.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk
index 43696da019f..6c5ad80ed14 100644
--- a/share/mk/bsd.lkm.mk
+++ b/share/mk/bsd.lkm.mk
@@ -1,5 +1,4 @@
-# $OpenBSD: bsd.lkm.mk,v 1.8 1996/08/01 10:17:53 niklas Exp $
-# from @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
+# $OpenBSD: bsd.lkm.mk,v 1.9 1996/08/01 11:35:45 niklas Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -9,6 +8,9 @@
.SUFFIXES: .out .o .c .cc .C .y .l .s .8 .7 .6 .5 .4 .3 .2 .1 .0
+# XXX In order to at least diminish the brokenness of trusting /sys to point
+# to the tree we're actually belonging to we check BSDSRCDIR. On multi-tree
+# machines /sys isn't always a link to the correct tree.
.if defined(BSDSRCDIR)
CFLAGS+= ${COPTS} -D_KERNEL -I${BSDSRCDIR}/sys -I${BSDSRCDIR}/sys/arch
.else