diff options
author | bde <bde@FreeBSD.org> | 1995-11-04 17:08:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-04 17:08:13 +0000 |
commit | 6073486300a2c7430d184a9a41ad42bcb0c4345c (patch) | |
tree | a314bfc13d707ab8df235edc500e88916380d16d /sys/conf/kmod.mk | |
parent | e2427bd86958366ec25f29d70bb5c148c61a704b (diff) | |
download | FreeBSD-src-6073486300a2c7430d184a9a41ad42bcb0c4345c.zip FreeBSD-src-6073486300a2c7430d184a9a41ad42bcb0c4345c.tar.gz |
Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the
misplaced extern declarations (mostly prototypes of interrupt handlers)
that this exposed. The prototypes should be moved back to the driver
sources when the functions are staticalized.
Added idempotency guards to <machine/conf.h>. "ioconf.h" can't be
included when building LKMs so define a wart in bsd.kmod.mk to help
guard against including it.
Diffstat (limited to 'sys/conf/kmod.mk')
-rw-r--r-- | sys/conf/kmod.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 2232232..d3d53af 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.14 1995/10/15 16:46:00 phk Exp $ +# $Id: bsd.kmod.mk,v 1.15 1995/10/15 16:56:56 phk Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -12,7 +12,8 @@ # ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing # actually lives in /sys directly. # -CFLAGS+=${COPTS} -DKERNEL -I${.CURDIR}/../../sys -W -Wcomment -Wredundant-decls +CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \ + -W -Wcomment -Wredundant-decls KMODGRP?= bin KMODOWN?= bin |