Whamcloud - gitweb
LU-1337 build: make configure process not break for 3.4 kernel
authorLiu Xuezhao <xuezhao.liu@emc.com>
Tue, 19 Jun 2012 02:47:12 +0000 (10:47 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 31 Jul 2012 15:37:23 +0000 (11:37 -0400)
commit8d04ff54e6fc1cf5cd4ea92097fadbe546910d17
tree10f41c84378317b9463b34d51886c455310ff5f0
parent8ac51a5e3834148332af72a87999557eab32ac06
LU-1337 build: make configure process not break for 3.4 kernel

1. remove "ifeq ($(PATCHLEVEL),4)" from build/Makefile, Rules.in
   "ifeq ($(PATCHLEVEL),4)" is for old 2.4 kernel, it breaks
   configuration process for 3.4 kernel.
2. change the "-include" file from "include/$AUTOCONF_HDIR/autoconf.h"
   to "include/linux/kconfig.h", as kconfig.h includes autoconf.h and
   defines some macros(IS_ENABLED etc.) which is needed for some
   header files.
3. Fix a typo from "blkkdev.h" to "blkdev.h" in lustre-core.m4

Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
Change-Id: If1c712c194ba76a2fe46c31afad28c37f0b465c6
Reviewed-on: http://review.whamcloud.com/3396
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
build/Makefile
build/Rules.in
build/autoMakefile.am.toplevel
build/autoconf/lustre-build-linux.m4
lustre/autoconf/lustre-core.m4