Changeset 21157


Ignore:
Timestamp:
2010-04-25T17:57:07+02:00 (6 years ago)
Author:
ralph
Message:

[ifxos] fixed autoconf detection for 2.6.33 kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ifxos/patches/100-portability.patch

    r20639 r21157  
    1 Index: lib_ifxos-1.5.12/src/Makefile.am 
    2 =================================================================== 
    3 --- lib_ifxos-1.5.12.orig/src/Makefile.am       2010-01-08 18:12:15.000000000 +0100 
    4 +++ lib_ifxos-1.5.12/src/Makefile.am    2010-03-31 18:56:12.000000000 +0200 
    5 @@ -639,7 +639,7 @@ 
     1--- a/src/Makefile.am 
     2+++ b/src/Makefile.am 
     3@@ -639,7 +639,7 @@ if KERNEL_2_6 
    64 drv_ifxos_OBJS = "$(subst .c,.o,$(filter %.c,$(drv_ifxos_SOURCES)))" 
    75  
     
    1210                echo "copy source files (as links only!)"; \ 
    1311                for f in $(filter %.c,$(drv_ifxos_SOURCES)); do \ 
    14 @@ -647,10 +647,10 @@ 
     12@@ -647,10 +647,10 @@ drv_ifxos.ko: $(drv_ifxos_SOURCES) 
    1513                        cp -s $(addprefix @abs_srcdir@/,$$f) $(PWD)/`dirname $$f`/ ; \ 
    1614                done \ 
     
    2725  
    2826 clean-generic: 
     27--- a/configure.in 
     28+++ b/configure.in 
     29@@ -64,7 +64,7 @@ dnl Set kernel build path 
     30 AC_ARG_ENABLE(kernelbuild, 
     31        AS_HELP_STRING(--enable-kernelbuild=x,Set the target kernel build path (only for kernel 2.6.x)), 
     32        [ 
     33-               if test -e $enableval/include/linux/autoconf.h; then 
     34+               if test -e $enableval/include/{linux,generated}/autoconf.h; then 
     35                        AC_SUBST([KERNEL_BUILD_PATH],[$enableval]) 
     36                else 
     37                        AC_MSG_ERROR([The kernel build directory is not valid or not configured!]) 
Note: See TracChangeset for help on using the changeset viewer.