From 018f61392e0410dd1bf7cfc753957befbd690831 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 21 Sep 2002 22:18:31 +0000 Subject: [PATCH] take LINUX from /lib/modules/x.x.x/build; patch from Dave Johnson git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1548 7894878c-1315-0410-8ee3-d5d059ff63e0 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d3882dd2..b34f697e 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,8 @@ # The location of linux itself. This is used to find the kernel headers # and other things. -LINUX=/usr/src/linux +#LINUX=/usr/src/linux +LINUX=/lib/modules/$(shell uname -r)/build LINUX_HEADERS=$(LINUX)/include # Determine whether we need to compile the kernel modules, or only the