[Debian-eeepc-commits] [SCM] Packaging of rt2860-source branch, master, updated. 18c3dc20f07523c5185a3c6dfaff58aeb67546f9

Glenn Saberton gsaberton at foomagic.org
Sat Dec 27 04:25:10 UTC 2008


The following commit has been merged in the master branch:
commit 18c3dc20f07523c5185a3c6dfaff58aeb67546f9
Author: Glenn Saberton <gsaberton at foomagic.org>
Date:   Sat Dec 27 13:19:47 2008 +0900

    Use KSRC variable in makefile if it is set.

diff --git a/debian/changelog b/debian/changelog
index 269199e..bc3e129 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+rt2860-source (1.8.0.0-3) unstable; urgency=low
+
+  * Use KSRC variable so we can build for non-running kernels with 
+    module assistant.
+    Closes: #506230 -- rt2860-source: uses "uname -r" to choos build dir
+
+ -- Glenn Saberton <gsaberton at foomagic.org>  Sat, 27 Dec 2008 13:17:30 +0900
+
 rt2860-source (1.8.0.0-2) unstable; urgency=low
 
   * install kernel module in net/wireless, not wireless/
diff --git a/debian/patches/05_makefile-ksrc.patch b/debian/patches/05_makefile-ksrc.patch
new file mode 100644
index 0000000..0599dba
--- /dev/null
+++ b/debian/patches/05_makefile-ksrc.patch
@@ -0,0 +1,20 @@
+diff --git a/Makefile b/Makefile
+index 8f95bcc..e86370e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -63,10 +63,15 @@ endif
+ 
+ ifeq ($(PLATFORM),PC)
+ # Linux 2.6
++ifndef KSRC
+ LINUX_SRC = /lib/modules/$(shell uname -r)/build
+ # Linux 2.4 Change to your local setting
+ #LINUX_SRC = /usr/src/linux-2.4
+ LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/
++else
++LINUX_SRC = $(KSRC)
++LINUX_SRC_MODULE = $(KSRC)/kernel/drivers/net/wireless/
++endif
+ CROSS_COMPILE = 
+ endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
index b9274b4..b003b16 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01_remove-tft-lines-from-makefile.patch
 03_wpa-fix.patch
 04_clean-install.patch
+05_makefile-ksrc.patch

-- 
Packaging of rt2860-source



More information about the Debian-eeepc-commits mailing list