xref: /openbmc/linux/drivers/spi/Makefile (revision 9904f22a)
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
15# 	... add above this line ...
16
17# SPI protocol drivers (device/link on bus)
18# 	... add above this line ...
19
20# SPI slave controller drivers (upstream link)
21# 	... add above this line ...
22
23# SPI slave drivers (protocol for that link)
24# 	... add above this line ...
25