summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/Makefile
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-07-14 19:45:35 +0200
committerWolfgang Denk <wd@denx.de>2008-08-18 23:24:01 +0200
commita4a549b4b53adf40a0d3882cc30ac812a8f847c5 (patch)
tree55e52b151e315a65f57bba8c81a9657330a21505 /drivers/i2c/Makefile
parent0a823aa2a8a8c0685e73900f387d602d7edafc0e (diff)
downloadtalos-obmc-uboot-a4a549b4b53adf40a0d3882cc30ac812a8f847c5.tar.gz
talos-obmc-uboot-a4a549b4b53adf40a0d3882cc30ac812a8f847c5.zip
i2c: Clean drivers/i2c/ Makefile
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/i2c/Makefile')
-rw-r--r--drivers/i2c/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index 534c015191..1f25afb0ad 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -25,11 +25,11 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libi2c.a
-COBJS-y += fsl_i2c.o
-COBJS-y += omap1510_i2c.o
-COBJS-y += omap24xx_i2c.o
-COBJS-y += tsi108_i2c.o
-COBJS-y += mxc_i2c.o
+COBJS-$(CONFIG_FSL_I2C) += fsl_i2c.o
+COBJS-$(CONFIG_I2C_MXC) += mxc_i2c.o
+COBJS-$(CONFIG_DRIVER_OMAP1510_I2C) += omap1510_i2c.o
+COBJS-$(CONFIG_DRIVER_OMAP24XX_I2C) += omap24xx_i2c.o
+COBJS-$(CONFIG_TSI108_I2C) += tsi108_i2c.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OpenPOWER on IntegriCloud