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