Many things, most notable the lm78 module

* Some Makefile changes. doc/makefiles documents most of them.
* The lm78 module now compiles, but it will still crash.
* New module sensors, with general code usable by chip driver modules
* i2c-core: added function i2c_adapter_id(), which returns a (low)
  unique i2c-bus ID.
* lm78.h stuff moved into lm78.c or sensors.h


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@19 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1998-12-01 21:11:32 +00:00
1 parent dcf30092e1
commit 6ea68ba7a2
21 files changed
+2169 -224

No files matched your search

+11 -4
View File
@@ -23,16 +23,23 @@ MODULE_DIR := src
# Regrettably, even 'simply expanded variables' will not put their currently
# defined value verbatim into the command-list of rules...
SRCTARGETS := $(MODULE_DIR)/smbus.o $(MODULE_DIR)/piix4.o $(MODULE_DIR)/isa.o \
$(MODULE_DIR)/lm78.o $(MODULE_DIR)/i2c-proc.o
$(MODULE_DIR)/lm78.o $(MODULE_DIR)/sensors.o \
$(MODULE_DIR)/i2c-proc.o
HEADERFILES := $(MODULE_DIR)/sensors.h
# Include all dependency files
INCLUDEFILES += $(SRCTARGETS:.o=.d)
all :: $(SRCTARGETS)
all-src: $(SRCTARGETS)
all :: all-src
install ::
install-src:
$(MKDIR) $(MODDIR)
install -o root -g root -m 644 $(SRCTARGETS) $(MODDIR)
install -o root -g root -m 644 $(HEADERFILES) $(INCLUDEDIR)
install :: install-src
clean ::
clean-src:
$(RM) $(SRCTARGETS) $(SRCTARGETS:.o=.d)
clean :: clean-src