blob: af14a1a56cc2aa7622aeff48b1da2895d07cfba0 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001uname can not get version of kernel correctly while cross compile
2
3Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
4---
5 configure.ac | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8diff --git a/configure.ac b/configure.ac
9index 523899b..4e6ae0d 100644
10--- a/configure.ac
11+++ b/configure.ac
12@@ -924,7 +924,7 @@ AC_MSG_RESULT([$ARCH ($host_os)])
13 if test "x$ARCH" = "xlinux"; then
14 AC_MSG_CHECKING([for the linux kernel version])
15
16- kernel=`uname -r`
17+ kernel="${KERNEL_VERSION}"
18
19 case "${kernel}" in
20 2.6.*)
21--
221.8.3.1
23