Module Name: src
Committed By: rin
Date: Sun Feb 17 03:57:31 UTC 2019
Modified Files:
src/sys/modules: Makefile.inc
Log Message:
Turn on DIAGNOSTIC by default for modules in HEAD.
Make us sure that it should be commented out for release branches in
a similar manner to kernel configuration files.
Discussed on tech-kern.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/modules/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/modules/Makefile.inc
diff -u src/sys/modules/Makefile.inc:1.6 src/sys/modules/Makefile.inc:1.7
--- src/sys/modules/Makefile.inc:1.6 Sun Sep 11 18:38:02 2011
+++ src/sys/modules/Makefile.inc Sun Feb 17 03:57:31 2019
@@ -1,10 +1,14 @@
-# $NetBSD: Makefile.inc,v 1.6 2011/09/11 18:38:02 mbalmer Exp $
+# $NetBSD: Makefile.inc,v 1.7 2019/02/17 03:57:31 rin Exp $
S!= cd ${.PARSEDIR}/..;pwd
CPPFLAGS+= -I${NETBSDSRCDIR}/common/include
USE_FORT= no
WARNS?= 3
+# inexpensive kernel consistency checks
+# XXX to be commented out on release branch
+CPPFLAGS+= -DDIAGNOSTIC
+
.if !empty(IOCONF)
_BSD_IOCONF_MK_USER_=1
.include <bsd.ioconf.mk>