blob: 1bca5f95de251d00c4775a8e3898da2751b29102 [file] [log] [blame]
David Brownell8ae12a02006-01-08 13:34:19 -08001#
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)
David Brownell9904f222006-01-08 13:34:26 -080014obj-$(CONFIG_SPI_BITBANG) += spi_bitbang.o
David Brownell71117632006-01-08 13:34:29 -080015obj-$(CONFIG_SPI_BUTTERFLY) += spi_butterfly.o
Stephen Streete0c99052006-03-07 23:53:24 -080016obj-$(CONFIG_SPI_PXA2XX) += pxa2xx_spi.o
David Brownell8ae12a02006-01-08 13:34:19 -080017# ... add above this line ...
18
19# SPI protocol drivers (device/link on bus)
20# ... add above this line ...
21
22# SPI slave controller drivers (upstream link)
23# ... add above this line ...
24
25# SPI slave drivers (protocol for that link)
26# ... add above this line ...