aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/caif/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/caif/Makefile')
-rw-r--r--drivers/net/caif/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/caif/Makefile b/drivers/net/caif/Makefile
index b38d987..9560b9d 100644
--- a/drivers/net/caif/Makefile
+++ b/drivers/net/caif/Makefile
@@ -1,6 +1,4 @@
-ifeq ($(CONFIG_CAIF_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_CAIF_DEBUG) := -DDEBUG
# Serial interface
obj-$(CONFIG_CAIF_TTY) += caif_serial.o