diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-11-16 17:22:21 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-11-16 17:22:21 +0100 |
commit | 176e06025ea5847d2359d6ba914c8a0a41d69b59 (patch) | |
tree | 9efdc0b4ab85c5c8ff27ff49817bb99dc2257b2c /acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch | |
parent | 3d534de88c6a6d1dcdd93ca1e20ef44bd9473072 (diff) | |
parent | fb0109d1482fed62cac278a4b95877092add82af (diff) | |
download | nutyx-extra-176e06025ea5847d2359d6ba914c8a0a41d69b59.tar.gz nutyx-extra-176e06025ea5847d2359d6ba914c8a0a41d69b59.tar.bz2 nutyx-extra-176e06025ea5847d2359d6ba914c8a0a41d69b59.tar.xz nutyx-extra-176e06025ea5847d2359d6ba914c8a0a41d69b59.zip |
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/attapu
Diffstat (limited to 'acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch')
-rw-r--r-- | acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch b/acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch new file mode 100644 index 000000000..033c94989 --- /dev/null +++ b/acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch @@ -0,0 +1,12 @@ +diff -Naur acerhk-0.5.35/Makefile acerhk-0.5.35-new/Makefile +--- acerhk-0.5.35/Makefile 2006-08-16 11:11:08.000000000 -0500 ++++ acerhk-0.5.35-new/Makefile 2010-04-09 15:59:40.000000000 -0500 +@@ -3,7 +3,7 @@ + #KERNELSRC=/usr/src/linux + 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)) ++KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/generated/utsrelease.h)) + KERNELMAJOR=$(shell echo $(KERNELVERSION)|head -c3) + + # next line is for kernel 2.6, if you integrate the driver in the kernel tree |