wok-6.x view linmodem-intel-536ep/stuff/linmodem-intel-536ep-kernel-2.6.33.patch @ rev 8301

Fix: shared-mime-info now take care of --root= option
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:50:01 2011 +0100 (2011-02-01)
parents
children 1c8541e0ec86
line source
1 --- config_check~ 2010-02-27 16:18:10.000000000 +0100
2 +++ 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 --- coredrv/hamdefs.h~ 2010-02-27 16:20:58.000000000 +0100
31 +++ 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