mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-18 11:09:32 +00:00
Delete all kernel chip drivers, documentation and references. We are
moving to a user-space-only package, all the drivers are maintained in the Linux kernel tree itself. I tried to update the documentation a bit, but there's still a lot to go. In fact, a complete rewrite seems to be needed. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4397 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
448c4a70e9
commit
9232f4eb43
136 files changed
+1633
-55767
No files matched your search
@@ -20,22 +20,9 @@
|
||||
# verbatim in the rules, until it is redefined.
|
||||
MODULE_DIR := kernel/include
|
||||
KERNELINCLUDEDIR := $(MODULE_DIR)
|
||||
KERNELCHIPSDIR := kernel/chips
|
||||
|
||||
KERNELINCLUDEFILES := $(MODULE_DIR)/i2c-dev.h $(MODULE_DIR)/sensors.h
|
||||
|
||||
$(KERNELINCLUDEDIR)/sensors.h: $(KERNELINCLUDEDIR)/sensors.h.template
|
||||
cat $@.template > $@
|
||||
$(AWK) '/SENSORS SYSCTL START/,/SENSORS SYSCTL END/' $(KERNELCHIPSDIR)/*.c >> $@
|
||||
echo '#endif' >> $@
|
||||
|
||||
$(KERNELINCLUDEDIR)/sensors.hd:
|
||||
( $(GREP) 'SENSORS SYSCTL START' /dev/null $(KERNELCHIPSDIR)/*.c | \
|
||||
$(SED) -e 's/:.*//' -e 's#^#$(KERNELINCLUDEDIR)/sensors.h: #' ) > $@
|
||||
|
||||
# Get dependencies of sensors.h
|
||||
INCLUDEFILES += $(MODULE_DIR)/sensors.hd
|
||||
|
||||
REMOVEKERNELINC := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(SYSINCLUDEDIR)/%,$(KERNELINCLUDEFILES))
|
||||
|
||||
install-all-kernel-include:
|
||||
@@ -50,8 +37,3 @@ user_uninstall::
|
||||
$(RM) $(REMOVEKERNELINC)
|
||||
# Remove directory if empty, ignore failure
|
||||
$(RMDIR) $(DESTDIR)$(SYSINCLUDEDIR) 2> /dev/null || true
|
||||
|
||||
clean-all-kernel-include:
|
||||
$(RM) $(KERNELINCLUDEDIR)/*.h.install $(KERNELINCLUDEDIR)/sensors.h $(KERNELINCLUDEDIR)/sensors.hd
|
||||
|
||||
clean :: clean-all-kernel-include
|
||||
Reference in new issue
Block a user