blob: 44922bf29b6a0653ea1eda6ad96c30b3a645fbaa [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Linux Controller Area Network drivers.
4#
5
6obj-$(CONFIG_CAN_VCAN) += vcan.o
7obj-$(CONFIG_CAN_VXCAN) += vxcan.o
8obj-$(CONFIG_CAN_SLCAN) += slcan.o
9
10obj-$(CONFIG_CAN_DEV) += can-dev.o
11can-dev-y += dev.o
12can-dev-y += rx-offload.o
13
14can-dev-$(CONFIG_CAN_LEDS) += led.o
15
16obj-y += rcar/
17obj-y += spi/
18obj-y += usb/
19obj-y += softing/
20
21obj-$(CONFIG_CAN_AT91) += at91_can.o
22obj-$(CONFIG_CAN_CC770) += cc770/
23obj-$(CONFIG_CAN_C_CAN) += c_can/
24obj-$(CONFIG_CAN_FLEXCAN) += flexcan.o
25obj-$(CONFIG_CAN_GRCAN) += grcan.o
26obj-$(CONFIG_CAN_IFI_CANFD) += ifi_canfd/
27obj-$(CONFIG_CAN_JANZ_ICAN3) += janz-ican3.o
28obj-$(CONFIG_CAN_MSCAN) += mscan/
29obj-$(CONFIG_CAN_M_CAN) += m_can/
30obj-$(CONFIG_CAN_PEAK_PCIEFD) += peak_canfd/
31obj-$(CONFIG_CAN_SJA1000) += sja1000/
32obj-$(CONFIG_CAN_SUN4I) += sun4i_can.o
33obj-$(CONFIG_CAN_TI_HECC) += ti_hecc.o
34obj-$(CONFIG_CAN_XILINXCAN) += xilinx_can.o
35obj-$(CONFIG_PCH_CAN) += pch_can.o
36
37subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) += -DDEBUG