mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-30 02:22:09 +00:00
12 lines
513 B
Diff
12 lines
513 B
Diff
|
--- 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!])
|