# SPDX-License-Identifier: GPL-2.0
#
# Makefile for Hobot SPI controller drivers
#
ccflags-y                                 +=       -I${srctree}/drivers/spi

obj-$(CONFIG_HOBOT_SPI_DRIVER)            +=       hobot-spi.o
ifeq ($(CONFIG_HOBOT_SPI_MMIO),y)
hobot-spi-objs                            +=       spi-dw-mmio.o
endif
hobot-spi-objs                            +=       spi-dw.o
ifeq ($(CONFIG_HOBOT_SPI_MMIO_DMA),y)
hobot-spi-objs                            +=       spi-dw-mmio-dma.o
endif
