38 lines
1.9 KiB
Diff
38 lines
1.9 KiB
Diff
Fix Makefile and add Kconfig for the acerhk driver
|
|
---
|
|
3rdparty/acerhk/Kconfig | 8 8 + 0 - 0 !
|
|
3rdparty/acerhk/Makefile | 6 3 + 3 - 0 !
|
|
2 files changed, 11 insertions(+), 3 deletions(-)
|
|
|
|
Index: linux-2.6.21/3rdparty/acerhk/Makefile
|
|
===================================================================
|
|
--- linux-2.6.21.orig/3rdparty/acerhk/Makefile 2007-05-15 15:34:48.000000000 +0200
|
|
+++ linux-2.6.21/3rdparty/acerhk/Makefile 2007-05-15 15:37:17.000000000 +0200
|
|
@@ -1,10 +1,10 @@
|
|
# change KERNELSRC to the location of your kernel build tree only if
|
|
# autodetection does not work
|
|
#KERNELSRC=/usr/src/linux
|
|
-KERNELSRC?=/lib/modules/`uname -r`/build
|
|
+#KERNELSRC?=/lib/modules/`uname -r`/build
|
|
# Starting with 2.6.18, the kernel version is in utsrelease.h instead of version.h, accomodate both cases
|
|
-KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/linux/utsrelease.h))
|
|
-KERNELMAJOR=$(shell echo $(KERNELVERSION)|head -c3)
|
|
+#KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/linux/utsrelease.h))
|
|
+#KERNELMAJOR=$(shell echo $(KERNELVERSION)|head -c3)
|
|
|
|
# next line is for kernel 2.6, if you integrate the driver in the kernel tree
|
|
# /usr/src/linux/drivers/acerhk - or something similar
|
|
Index: linux-2.6.21/3rdparty/acerhk/Kconfig
|
|
===================================================================
|
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
+++ linux-2.6.21/3rdparty/acerhk/Kconfig 2007-05-15 15:39:30.000000000 +0200
|
|
@@ -0,0 +1,8 @@
|
|
+config ACERHK
|
|
+ tristate "Acerhk driver"
|
|
+ depends on EXPERIMENTAL && X86
|
|
+ ---help---
|
|
+ This is an experimental acer keyboard driver for
|
|
+ acer laptops. If you have a notebook with a ipw2X00
|
|
+ wireless card, it allows you to turn off the rf_kill
|
|
+
|