summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Makefile
diff options
context:
space:
mode:
authorMenon, Nishanth <x0nishan@ti.com>2008-05-12 15:59:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-05-12 15:59:48 +0200
commitb9655280e2f48cc6d095134ce4c00914659d01e6 (patch)
treef2c28d29ed6e77eb78f0a15f779c4fa8aa288b7f /drivers/spi/Makefile
parentd0054356090f0b55e22c28af2bef3f71e0cee1e7 (diff)
downloadbarebox-b9655280e2f48cc6d095134ce4c00914659d01e6.tar.gz
barebox-b9655280e2f48cc6d095134ce4c00914659d01e6.tar.xz
This is Kconfig cleanup patch (not all configurations will use CFI, SPI, RAMFS and DEVFS).
* Enable CFI and SPI drivers menuconfig option to be able to disable them in menuconfig. * Introduce capability to disable ramfs and devfs.
Diffstat (limited to 'drivers/spi/Makefile')
-rw-r--r--drivers/spi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index daef099004..81f2c6bc62 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -1,4 +1,4 @@
-obj-y += spi.o
+obj-$(CONFIG_SPI) += spi.o
obj-$(CONFIG_DRIVER_SPI_IMX) += imx_spi.o
obj-$(CONFIG_DRIVER_SPI_MC13783) += mc13783.o