summaryrefslogtreecommitdiff
path: root/net-wireless/compat-wireless/files/whynot-2.6.32.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:41:37 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:41:37 +0200
commit5d65d52a7227128a8524fe1c9c0cf5ba5b10c2d1 (patch)
tree7fd12c75ddb0f44b225e963d1836b326a1470c45 /net-wireless/compat-wireless/files/whynot-2.6.32.patch
parent20a107748317091d1ac003f1cbb045928d07e684 (diff)
Addeed the wi-fi modules
Diffstat (limited to 'net-wireless/compat-wireless/files/whynot-2.6.32.patch')
-rw-r--r--net-wireless/compat-wireless/files/whynot-2.6.32.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-wireless/compat-wireless/files/whynot-2.6.32.patch b/net-wireless/compat-wireless/files/whynot-2.6.32.patch
new file mode 100644
index 00000000..165e7201
--- /dev/null
+++ b/net-wireless/compat-wireless/files/whynot-2.6.32.patch
@@ -0,0 +1,18 @@
+diff -Naur compat-wireless-2.6.32-rc1/Makefile compat-wireless-2.6.32-rc1-fixed/Makefile
+--- compat-wireless-2.6.32-rc1/Makefile 2009-10-02 19:40:50.000000000 -0400
++++ compat-wireless-2.6.32-rc1-fixed/Makefile 2009-10-02 22:14:04.000000000 -0400
+@@ -3,13 +3,9 @@
+ ifneq ($(origin KLIB), undefined)
+ KMODPATH_ARG:= "INSTALL_MOD_PATH=$(KLIB)"
+ else
+-export KLIB:= /lib/modules/$(shell uname -r)
++export KLIB:= $(DESTDIR)/lib/modules/$(KVER)
+ endif
+ export KLIB_BUILD ?= $(KLIB)/build
+-# Sometimes not available in the path
+-MODPROBE := /sbin/modprobe
+-MADWIFI=$(shell $(MODPROBE) -l ath_pci)
+-OLD_IWL=$(shell $(MODPROBE) -l iwl4965)
+
+ DESTDIR?=
+