Package: drm-snapshot

Begin forwarded message:

Date: Fri, 9 Jan 2009 21:29:57 +0100
From: "Tormod Volden" <debian.tor...@gmail.com>
To: "Chris Lamb" <la...@debian.org>
Subject: [PATCH] Use LINUXDIR instead of KERNELDIR in debian/rules


 The Makefile in linux-core uses LINUXDIR for specifying the kernel
 source. Fixes compiling for another kernel version than the running one.

---
 debian/rules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 09c6797..7dd3ad2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -125,7 +125,7 @@ binary-modules:
        dh_clean -k

        # Build the modules
-       $(MAKE) -C linux-core KERNELDIR=$(KSRC) KVERREL=$(KVERS) \
+       $(MAKE) -C linux-core LINUXDIR=$(KSRC) KVERREL=$(KVERS) \
                EXTRA_CFLAGS=-DGIT_REVISION=\\\"$(shell cat
debian/git-revision)\\\"

        # Install the modules
@@ -148,7 +148,7 @@ binary-modules:
 # (Invoked by module-assistant or make-kpkg)
 kdist_config kdist_configure: prep-deb-files
 kdist_clean:
-       $(MAKE) -C linux-core KERNELDIR=$(KSRC) KVERREL=$(KVERS) clean
+       $(MAKE) -C linux-core LINUXDIR=$(KSRC) KVERREL=$(KVERS) clean

 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary binary-modules
install get-orig-source
-- 
1.5.4.3


-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org
       `-

Attachment: signature.asc
Description: PGP signature

Reply via email to