blob: e3db0c807f5528e748b7d1a66d22704b97f7cb13 [file] [log] [blame]
Oliver Hartkoppccb29632007-11-16 15:56:08 -08001#
2# Makefile for the Linux Controller Area Network drivers.
3#
4
5obj-$(CONFIG_CAN_VCAN) += vcan.o
Oliver Hartkoppa1044e32010-12-02 10:57:59 +00006obj-$(CONFIG_CAN_SLCAN) += slcan.o
Wolfgang Grandegger39549ee2009-05-15 23:39:29 +00007
8obj-$(CONFIG_CAN_DEV) += can-dev.o
9can-dev-y := dev.o
10
Fabio Baltieri996a9532012-12-18 18:50:55 +010011can-dev-$(CONFIG_CAN_LEDS) += led.o
12
Stefano Babic869ba1e2014-03-25 15:30:21 +010013obj-y += spi/
Sebastian Haas702171a2009-09-16 02:04:20 +000014obj-y += usb/
Kurt Van Dijck03fd3cf2011-01-11 04:32:31 +000015obj-y += softing/
Sebastian Haas702171a2009-09-16 02:04:20 +000016
Marc Kleine-Budde68f40152009-09-22 14:46:57 -070017obj-$(CONFIG_CAN_AT91) += at91_can.o
Barry Songbbb84612009-12-10 23:46:28 +000018obj-$(CONFIG_CAN_BFIN) += bfin_can.o
Marek Vasut47338082016-01-11 19:48:00 +010019obj-$(CONFIG_CAN_CC770) += cc770/
20obj-$(CONFIG_CAN_C_CAN) += c_can/
Marc Kleine-Buddee955cea2009-07-29 10:20:10 +020021obj-$(CONFIG_CAN_FLEXCAN) += flexcan.o
Andreas Larsson6cec9b02012-11-15 08:47:14 +010022obj-$(CONFIG_CAN_GRCAN) += grcan.o
Marek Vasut0c4d9c92016-01-20 15:33:39 +010023obj-$(CONFIG_CAN_IFI_CANFD) += ifi_canfd/
Marek Vasut47338082016-01-11 19:48:00 +010024obj-$(CONFIG_CAN_JANZ_ICAN3) += janz-ican3.o
25obj-$(CONFIG_CAN_MSCAN) += mscan/
26obj-$(CONFIG_CAN_M_CAN) += m_can/
Sergei Shtylyovfd115932014-05-17 00:03:54 +040027obj-$(CONFIG_CAN_RCAR) += rcar_can.o
Marek Vasut47338082016-01-11 19:48:00 +010028obj-$(CONFIG_CAN_SJA1000) += sja1000/
Gerhard Bertelsmann0738eff2015-09-16 13:21:22 +020029obj-$(CONFIG_CAN_SUN4I) += sun4i_can.o
Marek Vasut47338082016-01-11 19:48:00 +010030obj-$(CONFIG_CAN_TI_HECC) += ti_hecc.o
Kedareswara rao Appanab1201e442014-05-21 12:30:59 +053031obj-$(CONFIG_CAN_XILINXCAN) += xilinx_can.o
Marek Vasut47338082016-01-11 19:48:00 +010032obj-$(CONFIG_PCH_CAN) += pch_can.o
Wolfgang Grandegger429da1c2009-05-15 23:39:30 +000033
Marc Kleine-Budde04ee0862014-11-27 22:33:58 +010034subdir-ccflags-y += -D__CHECK_ENDIAN__
35subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) += -DDEBUG