aboutsummaryrefslogtreecommitdiffstats
path: root/package/ifxmips-dsl-api/patches/500-portability.patch
diff options
context:
space:
mode:
authorRalph Hempel <ralph.hempel@lantiq.com>2010-04-27 14:08:38 +0000
committerRalph Hempel <ralph.hempel@lantiq.com>2010-04-27 14:08:38 +0000
commitc7674e83528b3f45990efe6858a7ca5b52fc2944 (patch)
treec86f14488f5087919834c77e3eb0d2a6a957d602 /package/ifxmips-dsl-api/patches/500-portability.patch
parent8df378a9183733235740e5065206c110b42926c8 (diff)
downloadupstream-c7674e83528b3f45990efe6858a7ca5b52fc2944.tar.gz
upstream-c7674e83528b3f45990efe6858a7ca5b52fc2944.tar.bz2
upstream-c7674e83528b3f45990efe6858a7ca5b52fc2944.zip
fix .32 kernel, add support for .33 kernel
SVN-Revision: 21194
Diffstat (limited to 'package/ifxmips-dsl-api/patches/500-portability.patch')
-rw-r--r--package/ifxmips-dsl-api/patches/500-portability.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/ifxmips-dsl-api/patches/500-portability.patch b/package/ifxmips-dsl-api/patches/500-portability.patch
index cbac514f20..8af2646660 100644
--- a/package/ifxmips-dsl-api/patches/500-portability.patch
+++ b/package/ifxmips-dsl-api/patches/500-portability.patch
@@ -1,5 +1,14 @@
--- a/configure.in
+++ b/configure.in
+@@ -310,7 +310,7 @@ dnl Set kernel build path
+ AC_ARG_ENABLE(kernelbuild,
+ AC_HELP_STRING(--enable-kernel-build=x,Set the target kernel build path),
+ [
+- if test -e $enableval/include/linux/autoconf.h; then
++ if test -e $enableval/include/linux/autoconf.h -o -e $enableval/include/generated/autoconf.h; then
+ AC_SUBST([KERNEL_BUILD_PATH],[$enableval])
+ else
+ AC_MSG_ERROR([The kernel build directory is not valid or not configured!])
@@ -333,12 +333,12 @@ AC_ARG_ENABLE(ifxos-include,
echo Set the lib_ifxos include path $enableval
AC_SUBST([IFXOS_INCLUDE_PATH],[$enableval])