xref: /openbmc/linux/drivers/dma/bestcomm/Makefile (revision b2441318)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
29a322993SPhilippe De Muyter#
39a322993SPhilippe De Muyter# Makefile for BestComm & co
49a322993SPhilippe De Muyter#
59a322993SPhilippe De Muyter
69a322993SPhilippe De Muyterbestcomm-core-objs	:= bestcomm.o sram.o
79a322993SPhilippe De Muyterbestcomm-ata-objs	:= ata.o bcom_ata_task.o
89a322993SPhilippe De Muyterbestcomm-fec-objs	:= fec.o bcom_fec_rx_task.o bcom_fec_tx_task.o
99a322993SPhilippe De Muyterbestcomm-gen-bd-objs	:= gen_bd.o bcom_gen_bd_rx_task.o bcom_gen_bd_tx_task.o
109a322993SPhilippe De Muyter
119a322993SPhilippe De Muyterobj-$(CONFIG_PPC_BESTCOMM)		+= bestcomm-core.o
129a322993SPhilippe De Muyterobj-$(CONFIG_PPC_BESTCOMM_ATA)		+= bestcomm-ata.o
139a322993SPhilippe De Muyterobj-$(CONFIG_PPC_BESTCOMM_FEC)		+= bestcomm-fec.o
149a322993SPhilippe De Muyterobj-$(CONFIG_PPC_BESTCOMM_GEN_BD)	+= bestcomm-gen-bd.o
159a322993SPhilippe De Muyter
16