mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-01 13:20:30 +00:00
Kill outdated code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2893 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
49e50e9ae6
commit
7c3a80b6fc
2 files changed
+6
-18
No files matched your search
@@ -24,10 +24,6 @@ KERNELDIR := $(MODULE_DIR)
|
||||
# Regrettably, even 'simply expanded variables' will not put their currently
|
||||
# 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)
|
||||
# sensors.c moved to i2c-proc.c in i2c package
|
||||
#KERNELTARGETS += $(MODULE_DIR)/sensors.o
|
||||
endif
|
||||
|
||||
# Include all dependency files
|
||||
INCLUDEFILES += $(KERNELTARGETS:.o=.d)
|
||||
@@ -37,10 +33,6 @@ 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)$(MODPREF)/misc/sensors.o
|
||||
|
||||
install :: install-kernel
|
||||
|
||||
Reference in new issue
Block a user