1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

modules/mqnic/Makefile: Define CPP symbol DEBUG when environment variable DEBUG is provided

Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
This commit is contained in:
Joachim Foerster 2023-06-21 12:13:04 +02:00 committed by Alex Forencich
parent 51d5712982
commit 6a975f3433

View File

@ -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),)