summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark D. Studebaker <mdsxyz123@yahoo.com>2002-04-20 02:50:37 +0000
committerMark D. Studebaker <mdsxyz123@yahoo.com>2002-04-20 02:50:37 +0000
commit39cc76464bebab9d3d28c888ec66c1185edce78d (patch)
tree3086fd85f2ce71e7cae5b35a964d62b2c2d6bf7d /Makefile
parent69e7d54d1753750d36abd82441763b59beb83e77 (diff)
downloadlm-sensors-git-39cc76464bebab9d3d28c888ec66c1185edce78d.tar.gz
for kernels 2.4+, install modules to kernel/drivers/[i2c,sensors]
instead of misc, and delete old modules in misc. This will prevent duplicate modules. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1351 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2af1fbc3..b93e8972 100644
--- a/Makefile
+++ b/Makefile
@@ -80,7 +80,8 @@ PREFIX := /usr/local
# This is the directory into which the modules will be installed.
# The magic invocation will return something like this:
# /lib/modules/2.2.15-ac9/misc
-MODDIR := /lib/modules/`grep UTS_RELEASE $(LINUX_HEADERS)/linux/version.h|cut -f 2 -d'"'`/misc
+# MODDIR := /lib/modules/`grep UTS_RELEASE $(LINUX_HEADERS)/linux/version.h|cut -f 2 -d'"'`/misc
+MODPREF := /lib/modules/`grep UTS_RELEASE $(LINUX_HEADERS)/linux/version.h|cut -f 2 -d'"'`
# This is the directory where sensors.conf will be installed, if no other
# configuration file is found