summaryrefslogtreecommitdiff
path: root/drivers/hwmon/Makefile
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-07-11 11:50:53 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 15:26:18 +0200
commit6ecbb45bb027e90c19d63b48e7b0c05acc1a87c0 (patch)
treedb647af285d1d0fedc4dd29d88a8a9cf9fa97156 /drivers/hwmon/Makefile
parentc78fce699c7ff467ecd841da6a79f065180bf578 (diff)
downloadu-boot-imx-6ecbb45bb027e90c19d63b48e7b0c05acc1a87c0.zip
u-boot-imx-6ecbb45bb027e90c19d63b48e7b0c05acc1a87c0.tar.gz
u-boot-imx-6ecbb45bb027e90c19d63b48e7b0c05acc1a87c0.tar.bz2
hwmon: Cleaning hwmon devices
Clean Makefile Move device specific values to driver for better reading Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/hwmon/Makefile')
-rw-r--r--drivers/hwmon/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
index 065433a..61b028f 100644
--- a/drivers/hwmon/Makefile
+++ b/drivers/hwmon/Makefile
@@ -30,13 +30,13 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libhwmon.a
-COBJS-y += adm1021.o
-COBJS-y += ds1621.o
-COBJS-y += ds1722.o
-COBJS-y += ds1775.o
+COBJS-$(CONFIG_DTT_ADM1021) += adm1021.o
+COBJS-$(CONFIG_DTT_DS1621) += ds1621.o
+COBJS-$(CONFIG_DS1722) += ds1722.o
+COBJS-$(CONFIG_DTT_DS1775) += ds1775.o
COBJS-$(CONFIG_DTT_LM73) += lm73.o
-COBJS-y += lm75.o
-COBJS-y += lm81.o
+COBJS-$(CONFIG_DTT_LM75) += lm75.o
+COBJS-$(CONFIG_DTT_LM81) += lm81.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)