xref: /linux/drivers/spi/Makefile (revision 8ae12a0d85987dc138f8c944cb78a92bf466cea0)
1*8ae12a0dSDavid Brownell#
2*8ae12a0dSDavid Brownell# Makefile for kernel SPI drivers.
3*8ae12a0dSDavid Brownell#
4*8ae12a0dSDavid Brownell
5*8ae12a0dSDavid Brownellifeq ($(CONFIG_SPI_DEBUG),y)
6*8ae12a0dSDavid BrownellEXTRA_CFLAGS += -DDEBUG
7*8ae12a0dSDavid Brownellendif
8*8ae12a0dSDavid Brownell
9*8ae12a0dSDavid Brownell# small core, mostly translating board-specific
10*8ae12a0dSDavid Brownell# config declarations into driver model code
11*8ae12a0dSDavid Brownellobj-$(CONFIG_SPI_MASTER)		+= spi.o
12*8ae12a0dSDavid Brownell
13*8ae12a0dSDavid Brownell# SPI master controller drivers (bus)
14*8ae12a0dSDavid Brownell# 	... add above this line ...
15*8ae12a0dSDavid Brownell
16*8ae12a0dSDavid Brownell# SPI protocol drivers (device/link on bus)
17*8ae12a0dSDavid Brownell# 	... add above this line ...
18*8ae12a0dSDavid Brownell
19*8ae12a0dSDavid Brownell# SPI slave controller drivers (upstream link)
20*8ae12a0dSDavid Brownell# 	... add above this line ...
21*8ae12a0dSDavid Brownell
22*8ae12a0dSDavid Brownell# SPI slave drivers (protocol for that link)
23*8ae12a0dSDavid Brownell# 	... add above this line ...
24