[U-Boot-Users] [PATCH 08/14] drivers/hwmon : move hardware monitor drviers to drivers/hwmon
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Nov 26 10:20:22 CET 2007
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
diff --git a/Makefile b/Makefile
index 160b906..3aa93e0 100644
--- a/Makefile
+++ b/Makefile
@@ -206,9 +206,9 @@ LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs
LIBS += net/libnet.a
LIBS += disk/libdisk.a
LIBS += rtc/librtc.a
-LIBS += dtt/libdtt.a
LIBS += drivers/libdrivers.a
LIBS += drivers/bios_emulator/libatibiosemu.a
+LIBS += drivers/hwmon/libhwmon.a
LIBS += drivers/i2c/libi2c.a
LIBS += drivers/input/libinput.a
LIBS += drivers/nand/libnand.a
diff --git a/drivers/Makefile b/drivers/Makefile
index 745a5cc..d4882f5 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -28,7 +28,6 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libdrivers.a
COBJS-y += ali512x.o
-COBJS-y += ds1722.o
COBJS-y += ns87308.o
COBJS-y += status_led.o
diff --git a/dtt/Makefile b/drivers/hwmon/Makefile
similarity index 97%
rename from dtt/Makefile
rename to drivers/hwmon/Makefile
index 72e5c88..cebb2ba 100644
--- a/dtt/Makefile
+++ b/drivers/hwmon/Makefile
@@ -28,13 +28,14 @@ include $(TOPDIR)/config.mk
#CFLAGS += -DDEBUG
-LIB = $(obj)libdtt.a
+LIB = $(obj)libhwmon.a
-COBJS-y += lm75.o
-COBJS-y += ds1621.o
COBJS-y += adm1021.o
-COBJS-y += lm81.o
+COBJS-y += ds1621.o
+COBJS-y += ds1722.o
COBJS-y += ds1775.o
+COBJS-y += lm75.o
+COBJS-y += lm81.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
diff --git a/dtt/adm1021.c b/drivers/hwmon/adm1021.c
similarity index 100%
rename from dtt/adm1021.c
rename to drivers/hwmon/adm1021.c
diff --git a/dtt/ds1621.c b/drivers/hwmon/ds1621.c
similarity index 100%
rename from dtt/ds1621.c
rename to drivers/hwmon/ds1621.c
diff --git a/drivers/ds1722.c b/drivers/hwmon/ds1722.c
similarity index 100%
rename from drivers/ds1722.c
rename to drivers/hwmon/ds1722.c
diff --git a/dtt/ds1775.c b/drivers/hwmon/ds1775.c
similarity index 100%
rename from dtt/ds1775.c
rename to drivers/hwmon/ds1775.c
diff --git a/dtt/lm75.c b/drivers/hwmon/lm75.c
similarity index 100%
rename from dtt/lm75.c
rename to drivers/hwmon/lm75.c
diff --git a/dtt/lm81.c b/drivers/hwmon/lm81.c
similarity index 100%
rename from dtt/lm81.c
rename to drivers/hwmon/lm81.c
--
1.5.3.2
More information about the U-Boot
mailing list