From 8fd6a0829e326935f2b20b150844d8ab07d20e05 Mon Sep 17 00:00:00 2001 From: Jeff Mahoney Date: Wed, 7 May 2014 09:20:54 -0400 Subject: [PATCH] LU-3953 build: look for kconfig.h in $LINUX On SLES systems, the kernel source and objects are not in the same directory. kconfig.h is in the source tree, not the object tree. Signed-off-by: Jeff Mahoney Signed-off-by: James Simmons Change-Id: I9c382a319181ff2d9958821a40d4eef6877f5867 Reviewed-on: http://review.whamcloud.com/10159 Reviewed-by: Bob Glossman Tested-by: Jenkins Reviewed-by: Dmitry Eremin Tested-by: Maloo Reviewed-by: Yang Sheng Reviewed-by: Oleg Drokin --- config/lustre-build-linux.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/lustre-build-linux.m4 b/config/lustre-build-linux.m4 index ee009a4..9494017 100644 --- a/config/lustre-build-linux.m4 +++ b/config/lustre-build-linux.m4 @@ -308,8 +308,8 @@ AC_SUBST(VERSION_HDIR) # kernel 3.1, $LINUX/include/linux/kconfig.h is added # see kernel commit 2a11c8ea20bf850b3a2c60db8c2e7497d28aba99 # -LB_CHECK_FILE([$LINUX_OBJ/include/linux/kconfig.h], - [CONFIG_INCLUDE=include/linux/kconfig.h], +LB_CHECK_FILE([$LINUX/include/linux/kconfig.h], + [CONFIG_INCLUDE=$LINUX/include/linux/kconfig.h], [CONFIG_INCLUDE=include/$AUTOCONF_HDIR/autoconf.h]) AC_SUBST(CONFIG_INCLUDE) -- 1.8.3.1