diff options
author | phk <phk@FreeBSD.org> | 1996-04-03 12:08:52 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-04-03 12:08:52 +0000 |
commit | 7ab974cf9ce82fe604a4e0b5339bab3d6f50a7f1 (patch) | |
tree | 202a643d7596546f44607bb012710bede79327e6 /sys/conf | |
parent | 341755dd21afbd780207222ff660f83a09082946 (diff) | |
download | FreeBSD-src-7ab974cf9ce82fe604a4e0b5339bab3d6f50a7f1.zip FreeBSD-src-7ab974cf9ce82fe604a4e0b5339bab3d6f50a7f1.tar.gz |
Pick up CWARNFLAGS from /etc/make.conf if defined.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kmod.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 481cacb..45a4cfb 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 |