aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-04-03 12:08:52 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-04-03 12:08:52 +0000
commit56bac51bc721f5c378a7ad9a4d6bb7d48f2bb000 (patch)
tree202a643d7596546f44607bb012710bede79327e6
parent481f550e6c7c3acb358dee09f92f263d2189639c (diff)
Notes
-rw-r--r--share/mk/bsd.kmod.mk8
-rw-r--r--sys/conf/kmod.mk8
2 files changed, 10 insertions, 6 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk
index 481cacb5275f..45a4cfb6d68d 100644
--- a/share/mk/bsd.kmod.mk
+++ b/share/mk/bsd.kmod.mk
@@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.kmod.mk,v 1.17 1995/12/16 01:57:25 bde Exp $
+# $Id: bsd.kmod.mk,v 1.18 1996/03/09 23:48:54 wosch Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -12,11 +12,13 @@
# ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing
# actually lives in /sys directly.
#
-CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \
- -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
+CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
-Winline
+CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \
+ ${CWARNFLAGS}
+
KMODGRP?= bin
KMODOWN?= bin
KMODMODE?= 555
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 481cacb5275f..45a4cfb6d68d 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.17 1995/12/16 01:57:25 bde Exp $
+# $Id: bsd.kmod.mk,v 1.18 1996/03/09 23:48:54 wosch Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -12,11 +12,13 @@
# ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing
# actually lives in /sys directly.
#
-CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \
- -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
+CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
-Winline
+CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \
+ ${CWARNFLAGS}
+
KMODGRP?= bin
KMODOWN?= bin
KMODMODE?= 555