Instead of requiring an edit to turn on ZFS debugging, define ZFS_DEBUG.

MFC after:	1 month
This commit is contained in:
Will Andrews 2014-10-01 15:34:48 +00:00
parent 9832a24d27
commit afb13fc22f

View File

@ -94,8 +94,10 @@ CFLAGS+=-DBUILDING_ZFS
CFLAGS+=-mminimal-toc
.endif
#CFLAGS+=-DDEBUG=1
#DEBUG_FLAGS=-g
.ifdef ZFS_DEBUG
CFLAGS+=-DDEBUG=1
DEBUG_FLAGS=-g
.endif
.include <bsd.kmod.mk>