162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci#  Makefile for the Linux Controller Area Network drivers.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-$(CONFIG_CAN_VCAN)		+= vcan.o
762306a36Sopenharmony_ciobj-$(CONFIG_CAN_VXCAN)		+= vxcan.o
862306a36Sopenharmony_ciobj-$(CONFIG_CAN_SLCAN)		+= slcan/
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciobj-y				+= dev/
1162306a36Sopenharmony_ciobj-y				+= rcar/
1262306a36Sopenharmony_ciobj-y				+= spi/
1362306a36Sopenharmony_ciobj-y				+= usb/
1462306a36Sopenharmony_ciobj-y				+= softing/
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciobj-$(CONFIG_CAN_AT91)		+= at91_can.o
1762306a36Sopenharmony_ciobj-$(CONFIG_CAN_BXCAN)		+= bxcan.o
1862306a36Sopenharmony_ciobj-$(CONFIG_CAN_CAN327)	+= can327.o
1962306a36Sopenharmony_ciobj-$(CONFIG_CAN_CC770)		+= cc770/
2062306a36Sopenharmony_ciobj-$(CONFIG_CAN_C_CAN)		+= c_can/
2162306a36Sopenharmony_ciobj-$(CONFIG_CAN_CTUCANFD)	+= ctucanfd/
2262306a36Sopenharmony_ciobj-$(CONFIG_CAN_FLEXCAN)	+= flexcan/
2362306a36Sopenharmony_ciobj-$(CONFIG_CAN_GRCAN)		+= grcan.o
2462306a36Sopenharmony_ciobj-$(CONFIG_CAN_IFI_CANFD)	+= ifi_canfd/
2562306a36Sopenharmony_ciobj-$(CONFIG_CAN_JANZ_ICAN3)	+= janz-ican3.o
2662306a36Sopenharmony_ciobj-$(CONFIG_CAN_KVASER_PCIEFD)	+= kvaser_pciefd.o
2762306a36Sopenharmony_ciobj-$(CONFIG_CAN_MSCAN)		+= mscan/
2862306a36Sopenharmony_ciobj-$(CONFIG_CAN_M_CAN)		+= m_can/
2962306a36Sopenharmony_ciobj-$(CONFIG_CAN_PEAK_PCIEFD)	+= peak_canfd/
3062306a36Sopenharmony_ciobj-$(CONFIG_CAN_SJA1000)	+= sja1000/
3162306a36Sopenharmony_ciobj-$(CONFIG_CAN_SUN4I)		+= sun4i_can.o
3262306a36Sopenharmony_ciobj-$(CONFIG_CAN_TI_HECC)	+= ti_hecc.o
3362306a36Sopenharmony_ciobj-$(CONFIG_CAN_XILINXCAN)	+= xilinx_can.o
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_cisubdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) += -DDEBUG
36