wok-6.x view linmodem-intel-536ep/stuff/linmodem-intel-536ep-kernel-2.6.33.patch @ rev 13845
lyx: fix for gcc 4.6
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 08 21:25:10 2013 +0100 (2013-01-08) |
parents | ad6487ac4314 |
children |
line source
1 --- intel-536-537/config_check~ 2010-02-27 16:18:10.000000000 +0100
2 +++ intel-536-537/config_check 2010-02-27 16:18:10.000000000 +0100
3 @@ -36,7 +36,7 @@
4 echo " Current running kernel is: $KERNVER"
7 -if [ -a /lib/modules/$KERNVER/build/include/linux/autoconf.h ]; then
8 +if [ -a /lib/modules/$KERNVER/build/include/generated/autoconf.h ]; then
9 echo " /lib/modules... autoconf.h exists"
10 else
11 echo " /lib/modules... autoconf.h does not exist"
12 @@ -44,7 +44,7 @@
13 exit 1
14 fi
16 -if [ "`diff /boot/vmlinuz.autoconf.h /lib/modules/$KERNVER/build/include/linux/autoconf.h`" \
17 +if [ "`diff /boot/vmlinuz.autoconf.h /lib/modules/$KERNVER/build/include/generated/autoconf.h`" \
18 == "" ]; then
19 echo " autoconf.h matches running kernel"
20 else
21 @@ -61,7 +61,7 @@
22 echo configurations to create a functional driver for this kernel.
23 echo call \"make config_sync\" and this script will
24 echo copy the file /boot/vmlinuz.autoconf.h to
25 - echo /lib/modules/$KERNVER/build/include/linux/autoconf.h
26 + echo /lib/modules/$KERNVER/build/include/generated/autoconf.h
27 echo and backup the original autoconf.h as autoconf.bak
28 echo The same will be done for version.h
29 echo Then repeat the build and installation procedure over again.
30 --- intel-536-537/coredrv/hamdefs.h~ 2010-02-27 16:20:58.000000000 +0100
31 +++ intel-536-537/coredrv/hamdefs.h 2010-02-27 16:20:58.000000000 +0100
32 @@ -51,7 +51,7 @@
33 #define EXPORT_SYMTAB
34 #include<linux/version.h>
35 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
36 - #include<linux/autoconf.h>
37 + #include<generated/autoconf.h>
38 #else
39 #include<linux/config.h>
40 #endif