xref: /openbmc/linux/net/can/Makefile (revision 42466b9f)
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