blob: 44922bf29b6a0653ea1eda6ad96c30b3a645fbaa [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Oliver Hartkoppccb29632007-11-16 15:56:08 -08002#
3# Makefile for the Linux Controller Area Network drivers.
4#
5
6obj-$(CONFIG_CAN_VCAN) += vcan.o
Oliver Hartkoppa8f820a32017-04-25 08:19:44 +02007obj-$(CONFIG_CAN_VXCAN) += vxcan.o
Oliver Hartkoppa1044e32010-12-02 10:57:59 +00008obj-$(CONFIG_CAN_SLCAN) += slcan.o
Wolfgang Grandegger39549ee2009-05-15 23:39:29 +00009
10obj-$(CONFIG_CAN_DEV) += can-dev.o
David Janderd2545862014-10-10 17:30:10 +020011can-dev-y += dev.o
12can-dev-y += rx-offload.o
Wolfgang Grandegger39549ee2009-05-15 23:39:29 +000013
Fabio Baltieri996a9532012-12-18 18:50:55 +010014can-dev-$(CONFIG_CAN_LEDS) += led.o
15
Ramesh Shanmugasundaramdd3bd232016-06-17 09:20:55 +010016obj-y += rcar/
Stefano Babic869ba1e2014-03-25 15:30:21 +010017obj-y += spi/
Sebastian Haas702171a2009-09-16 02:04:20 +000018obj-y += usb/
Kurt Van Dijck03fd3cf2011-01-11 04:32:31 +000019obj-y += softing/
Sebastian Haas702171a2009-09-16 02:04:20 +000020
Marc Kleine-Budde68f40152009-09-22 14:46:57 -070021obj-$(CONFIG_CAN_AT91) += at91_can.o
Marek Vasut47338082016-01-11 19:48:00 +010022obj-$(CONFIG_CAN_CC770) += cc770/
23obj-$(CONFIG_CAN_C_CAN) += c_can/
Marc Kleine-Buddee955cea2009-07-29 10:20:10 +020024obj-$(CONFIG_CAN_FLEXCAN) += flexcan.o
Andreas Larsson6cec9b02012-11-15 08:47:14 +010025obj-$(CONFIG_CAN_GRCAN) += grcan.o
Marek Vasut0c4d9c92016-01-20 15:33:39 +010026obj-$(CONFIG_CAN_IFI_CANFD) += ifi_canfd/
Marek Vasut47338082016-01-11 19:48:00 +010027obj-$(CONFIG_CAN_JANZ_ICAN3) += janz-ican3.o
28obj-$(CONFIG_CAN_MSCAN) += mscan/
29obj-$(CONFIG_CAN_M_CAN) += m_can/
Stephane Grosjean8ac83212017-01-19 16:31:07 +010030obj-$(CONFIG_CAN_PEAK_PCIEFD) += peak_canfd/
Marek Vasut47338082016-01-11 19:48:00 +010031obj-$(CONFIG_CAN_SJA1000) += sja1000/
Gerhard Bertelsmann0738eff2015-09-16 13:21:22 +020032obj-$(CONFIG_CAN_SUN4I) += sun4i_can.o
Marek Vasut47338082016-01-11 19:48:00 +010033obj-$(CONFIG_CAN_TI_HECC) += ti_hecc.o
Kedareswara rao Appanab1201e442014-05-21 12:30:59 +053034obj-$(CONFIG_CAN_XILINXCAN) += xilinx_can.o
Marek Vasut47338082016-01-11 19:48:00 +010035obj-$(CONFIG_PCH_CAN) += pch_can.o
Wolfgang Grandegger429da1c2009-05-15 23:39:30 +000036
Marc Kleine-Budde04ee0862014-11-27 22:33:58 +010037subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) += -DDEBUG