All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sf: Updated Makefile to group generic files
@ 2013-12-19 15:57 Jagannadha Sutradharudu Teki
  2013-12-19 16:36 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-12-19 15:57 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
 drivers/mtd/spi/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile
index 26483a2..fd8f8a4 100644
--- a/drivers/mtd/spi/Makefile
+++ b/drivers/mtd/spi/Makefile
@@ -10,8 +10,15 @@ obj-$(CONFIG_SPL_SPI_LOAD)	+= spi_spl_load.o
 obj-$(CONFIG_SPL_SPI_BOOT)	+= fsl_espi_spl.o
 endif
 
-obj-$(CONFIG_CMD_SF)        += sf.o
-obj-$(CONFIG_SPI_FLASH) += sf_probe.o sf_ops.o
+ifdef CONFIG_CMD_SF
+obj-y += sf.o
+endif
+
+ifdef CONFIG_SPI_FLASH
+obj-y += sf_probe.o
+obj-y += sf_ops.o
+endif
+
 obj-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o
 obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
 obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o
-- 
1.8.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-19 17:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 15:57 [U-Boot] [PATCH] sf: Updated Makefile to group generic files Jagannadha Sutradharudu Teki
2013-12-19 16:36 ` Tom Rini
2013-12-19 17:26   ` Jagan Teki
2013-12-19 17:39     ` Tom Rini
2013-12-19 17:48       ` Jagan Teki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.