Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Oliver Hartkopp | 0d66548 | 2007-11-16 15:52:17 -0800 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the Linux Controller Area Network core. |
| 4 | # |
| 5 | |
| 6 | obj-$(CONFIG_CAN) += can.o |
Alexander Aring | a20fadf | 2016-05-23 15:13:00 +0200 | [diff] [blame] | 7 | can-y := af_can.o |
| 8 | can-$(CONFIG_PROC_FS) += proc.o |
Oliver Hartkopp | c18ce10 | 2007-11-16 15:53:09 -0800 | [diff] [blame] | 9 | |
| 10 | obj-$(CONFIG_CAN_RAW) += can-raw.o |
Tracey Dent | bac14e0 | 2010-11-21 15:03:14 +0000 | [diff] [blame] | 11 | can-raw-y := raw.o |
Oliver Hartkopp | ffd980f | 2007-11-16 15:53:52 -0800 | [diff] [blame] | 12 | |
| 13 | obj-$(CONFIG_CAN_BCM) += can-bcm.o |
Tracey Dent | bac14e0 | 2010-11-21 15:03:14 +0000 | [diff] [blame] | 14 | can-bcm-y := bcm.o |
Oliver Hartkopp | c1aabdf | 2011-09-01 04:23:23 +0000 | [diff] [blame] | 15 | |
| 16 | obj-$(CONFIG_CAN_GW) += can-gw.o |
| 17 | can-gw-y := gw.o |