aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-kpi2udp/patches/100-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ltq-kpi2udp/patches/100-configure.patch')
-rw-r--r--package/ltq-kpi2udp/patches/100-configure.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/ltq-kpi2udp/patches/100-configure.patch b/package/ltq-kpi2udp/patches/100-configure.patch
new file mode 100644
index 0000000000..8f6704e9e8
--- /dev/null
+++ b/package/ltq-kpi2udp/patches/100-configure.patch
@@ -0,0 +1,11 @@
+--- a/configure.in
++++ b/configure.in
+@@ -113,7 +113,7 @@
+ AC_ARG_ENABLE(kernelbuild,
+ AS_HELP_STRING(--enable-kernelbuild=x,Set the target kernel build path),
+ [
+- if test -r $enableval/include/linux/autoconf.h; then
++ if test -r $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!])