xref: /linux/net/can/Makefile (revision 7effbd18e496a954540fb6319db0d87d28a70496)
1# SPDX-License-Identifier: GPL-2.0
2#
3#  Makefile for the Linux Controller Area Network core.
4#
5
6obj-$(CONFIG_CAN)	+= can.o
7can-y			:= af_can.o
8can-$(CONFIG_PROC_FS)	+= proc.o
9
10obj-$(CONFIG_CAN_RAW)	+= can-raw.o
11can-raw-y		:= raw.o
12
13obj-$(CONFIG_CAN_BCM)	+= can-bcm.o
14can-bcm-y		:= bcm.o
15
16obj-$(CONFIG_CAN_GW)	+= can-gw.o
17can-gw-y		:= gw.o
18
19obj-$(CONFIG_CAN_J1939)	+= j1939/
20
21obj-$(CONFIG_CAN_ISOTP)	+= can-isotp.o
22can-isotp-y		:= isotp.o
23