diff --git a/modules/mqnic/Makefile b/modules/mqnic/Makefile index 23b15f887..1860a93fa 100644 --- a/modules/mqnic/Makefile +++ b/modules/mqnic/Makefile @@ -26,6 +26,10 @@ mqnic-y += mqnic_cq.o mqnic-y += mqnic_eq.o mqnic-y += mqnic_ethtool.o +ifneq ($(DEBUG),) +ccflags-y += -DDEBUG +endif + else ifneq ($(KERNEL_SRC),)