Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules Turn on DIAGNOSTIC by default for modules in HEAD.
details: https://anonhg.NetBSD.org/src/rev/8c7bbc5b89d6
branches: trunk
changeset: 448973:8c7bbc5b89d6
user: rin <rin%NetBSD.org@localhost>
date: Sun Feb 17 03:57:31 2019 +0000
description:
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.
diffstat:
sys/modules/Makefile.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 2a51cb7b4a33 -r 8c7bbc5b89d6 sys/modules/Makefile.inc
--- a/sys/modules/Makefile.inc Sun Feb 17 00:24:15 2019 +0000
+++ b/sys/modules/Makefile.inc Sun Feb 17 03:57:31 2019 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index