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