1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Disable driver debug output by default

Use 'make DEBUG=1' to enable debug output
This commit is contained in:
Sergei Makarenkov 2017-01-26 19:28:55 +03:00
parent 2693c3dc1e
commit bed896f9a5
2 changed files with 7 additions and 2 deletions

View File

@ -150,6 +150,11 @@ ifeq ($(CONFIG_PCI_HCI), y)
HCI_NAME = pci
endif
ifeq ($(DEBUG), 1)
EXTRA_CFLAGS += -DDBG=1 -DCONFIG_DEBUG
else
EXTRA_CFLAGS += -DDBG=0
endif
_OS_INTFS_FILES := os_dep/osdep_service.o \
os_dep/linux/os_intfs.o \

View File

@ -344,9 +344,9 @@
/*
* Debug Related Config
*/
#define DBG 1
//#define DBG 1
#define CONFIG_DEBUG /* DBG_871X, etc... */
//#define CONFIG_DEBUG /* DBG_871X, etc... */
//#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
#define CONFIG_PROC_DEBUG