diff options
author | assar <assar@cvs.openbsd.org> | 2000-06-18 23:21:48 +0000 |
---|---|---|
committer | assar <assar@cvs.openbsd.org> | 2000-06-18 23:21:48 +0000 |
commit | 9264bdfa8f8ac2ea5114086abb804018e87da5c1 (patch) | |
tree | f1f04a0bf6d07cb99c74e6402355866ec17912ff /share/mk/bsd.lkm.mk | |
parent | b7794140e2a53e702abd3bdc2694988703eefd69 (diff) |
(CFLAGS): add _LKM so kernel header files behave nicely.
Diffstat (limited to 'share/mk/bsd.lkm.mk')
-rw-r--r-- | share/mk/bsd.lkm.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk index 04e313e51b7..f879c1fd6c8 100644 --- a/share/mk/bsd.lkm.mk +++ b/share/mk/bsd.lkm.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lkm.mk,v 1.14 1998/12/31 23:49:45 millert Exp $ +# $OpenBSD: bsd.lkm.mk,v 1.15 2000/06/18 23:21:47 assar Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -12,9 +12,9 @@ # 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 +CFLAGS+= ${COPTS} -D_KERNEL -D_LKM -I${BSDSRCDIR}/sys -I${BSDSRCDIR}/sys/arch .else -CFLAGS+= ${COPTS} -D_KERNEL -I/sys -I/sys/arch +CFLAGS+= ${COPTS} -D_KERNEL -D_LKM -I/sys -I/sys/arch .endif LDFLAGS+= -r |