xref: /linux/drivers/spi/Makefile (revision c537b994505099b7197e7d3125b942ecbcc51eb6)
1#
2# Makefile for kernel SPI drivers.
3#
4
5ifeq ($(CONFIG_SPI_DEBUG),y)
6EXTRA_CFLAGS += -DDEBUG
7endif
8
9# small core, mostly translating board-specific
10# config declarations into driver model code
11obj-$(CONFIG_SPI_MASTER)		+= spi.o
12
13# SPI master controller drivers (bus)
14obj-$(CONFIG_SPI_BITBANG)		+= spi_bitbang.o
15obj-$(CONFIG_SPI_ATMEL)			+= atmel_spi.o
16obj-$(CONFIG_SPI_BUTTERFLY)		+= spi_butterfly.o
17obj-$(CONFIG_SPI_IMX)			+= spi_imx.o
18obj-$(CONFIG_SPI_PXA2XX)		+= pxa2xx_spi.o
19obj-$(CONFIG_SPI_OMAP_UWIRE)		+= omap_uwire.o
20obj-$(CONFIG_SPI_MPC83xx)		+= spi_mpc83xx.o
21obj-$(CONFIG_SPI_S3C24XX_GPIO)		+= spi_s3c24xx_gpio.o
22obj-$(CONFIG_SPI_S3C24XX)		+= spi_s3c24xx.o
23# 	... add above this line ...
24
25# SPI protocol drivers (device/link on bus)
26obj-$(CONFIG_SPI_AT25)		+= at25.o
27# 	... add above this line ...
28
29# SPI slave controller drivers (upstream link)
30# 	... add above this line ...
31
32# SPI slave drivers (protocol for that link)
33# 	... add above this line ...
34