Disable sensors.c and i2c-isa.h in the Module.mk files.

Leave the files there for now.
      Remove old installed sensors.o in kernel/Module.mk.
      sensors.c was moved to i2c-proc.c in the i2c package.
      i2c-isa.h was appended to i2c.h in the i2c package.
      Delete all but the SYSCTL and ALARMS definitions in sensors.h,
      as the rest of the file was moved to i2c-proc.h in the i2c package.
      Remove #include "i2c-isa.h" lines in all chip drivers and
      in bus driver i2c-isa.c.
      This all probably breaks mkpatch.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1015 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2001-02-06 02:53:46 +00:00
parent fa761437c0
commit b5d014bd46
28 changed files with 22 additions and 429 deletions
+5 -1
View File
@@ -25,7 +25,8 @@ KERNELDIR := $(MODULE_DIR)
# defined value verbatim into the command-list of rules...
KERNELTARGETS :=
ifneq ($(shell if grep -q '^CONFIG_SENSORS=y' $(LINUX)/.config; then echo 1; fi),1)
KERNELTARGETS += $(MODULE_DIR)/sensors.o
# sensors.c moved to i2c-proc.c in i2c package
#KERNELTARGETS += $(MODULE_DIR)/sensors.o
endif
# Include all dependency files
@@ -34,11 +35,14 @@ INCLUDEFILES += $(KERNELTARGETS:.o=.d)
all-kernel: $(KERNELTARGETS)
all :: all-kernel
# Remove sensors.o possibly left from old versions
install-kernel: all-kernel
if [ -n "$(KERNELTARGETS)" ] ; then \
$(MKDIR) $(DESTDIR)$(MODDIR) ; \
$(INSTALL) -o root -g root -m 644 $(KERNELTARGETS) $(DESTDIR)$(MODDIR) ;\
fi
$(RM) $(DESTDIR)$(MODDIR)/sensors.o
install :: install-kernel
clean-kernel: