Split out the NODEBUG options to a common file
This is the superset of the nooptions found in the -DEBUG kernels. Reviewed by: emaste, manu Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D28152
This commit is contained in:
parent
6483fc224b
commit
6eebda3bba
@ -27,17 +27,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions BUF_TRACKING
|
||||
nooptions DEADLKRES
|
||||
nooptions FULL_BUF_TRACKING
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
nooptions QUEUE_MACRO_DEBUG_TRASH
|
||||
|
@ -27,12 +27,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -27,16 +27,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions USB_DEBUG
|
||||
nooptions HID_DEBUG
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
23
sys/conf/std.nodebug
Normal file
23
sys/conf/std.nodebug
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# std.nodebug -- Disable the debug options found in the GENERIC kernel config.
|
||||
#
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions BUF_TRACKING
|
||||
nooptions FULL_BUF_TRACKING
|
||||
nooptions DEADLKRES
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
nooptions QUEUE_MACRO_DEBUG_TRASH
|
||||
|
||||
# USB debugging
|
||||
nooptions USB_DEBUG
|
||||
nooptions HID_DEBUG
|
||||
|
||||
# CAM debugging
|
||||
nooptions CAMDEBUG
|
||||
nooptions CAM_DEBUG_FLAGS
|
@ -27,12 +27,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -27,12 +27,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -27,16 +27,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions BUF_TRACKING
|
||||
nooptions DEADLKRES
|
||||
nooptions FULL_BUF_TRACKING
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
Loading…
Reference in New Issue
Block a user