diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1998-10-02 05:08:09 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1998-10-02 05:08:09 +0000 |
| commit | 8fe644b289c2ad2d5e617e86f2fa75308c51f09f (patch) | |
| tree | 1bcc521dfcf996581ee78568cda3e7afaab2791d /sys | |
| parent | 90f60fc9bc41cc389c948ef561b8854e7021ce81 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/conf/kmod.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index fa3ba95be18f3..3c529baa920d0 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.52 1998/09/02 14:29:09 bde Exp $ +# $Id: bsd.kmod.mk,v 1.53 1998/10/02 04:51:10 msmith Exp $ # # The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules. # @@ -93,6 +93,9 @@ __initialized__: .SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S CFLAGS+= ${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL ${CWARNFLAGS} +.if defined(KLDMOD) +CFLAGS+= -DKLD_MODULE +.endif # Don't use any standard or source-relative include directories. # Since -nostdinc will annull any previous -I paths, we repeat all |
