mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
0331770299
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
12 lines
344 B
Diff
12 lines
344 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -341,7 +341,7 @@ case "${host_os}" in
|
|
# Ok, this is linux. Check the kernel version
|
|
AC_MSG_CHECKING([for the kernel version])
|
|
|
|
- kernel=`uname -r`
|
|
+ kernel=${UNAME_R:-`uname -r`}
|
|
|
|
case "${kernel}" in
|
|
0.*|1.*|2.0.*|2.1.*|2.2.*|2.3.*|2.4.*|2.5.*)
|