summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/Makefile')
-rw-r--r--drivers/net/can/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/can/Makefile b/drivers/net/can/Makefile
index c4bead705cd9..6c865475cd88 100644
--- a/drivers/net/can/Makefile
+++ b/drivers/net/can/Makefile
@@ -3,3 +3,8 @@
#
obj-$(CONFIG_CAN_VCAN) += vcan.o
+
+obj-$(CONFIG_CAN_DEV) += can-dev.o
+can-dev-y := dev.o
+
+ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG