Makefile 622 B

12345678910111213141516171819202122232425
  1. #
  2. # Makefile for kernel SPI drivers.
  3. #
  4. ifeq ($(CONFIG_SPI_DEBUG),y)
  5. EXTRA_CFLAGS += -DDEBUG
  6. endif
  7. # small core, mostly translating board-specific
  8. # config declarations into driver model code
  9. obj-$(CONFIG_SPI_MASTER) += spi.o
  10. # SPI master controller drivers (bus)
  11. obj-$(CONFIG_SPI_BITBANG) += spi_bitbang.o
  12. obj-$(CONFIG_SPI_BUTTERFLY) += spi_butterfly.o
  13. # ... add above this line ...
  14. # SPI protocol drivers (device/link on bus)
  15. # ... add above this line ...
  16. # SPI slave controller drivers (upstream link)
  17. # ... add above this line ...
  18. # SPI slave drivers (protocol for that link)
  19. # ... add above this line ...