Whamcloud - gitweb
LU-4124 build: make module installation directory flexible 15/8315/4
authorStephen Champion <schamp@sgi.com>
Fri, 18 Oct 2013 22:02:45 +0000 (15:02 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 4 Feb 2014 03:31:14 +0000 (03:31 +0000)
commit850fe95b34a5bdbe392e04da7862c7ed9fdcd33e
tree37c8897643fbca0e0497309754e9ad764a0e537a
parent99f0e012ecd2d5c7f9153fff872c2b0ede8ffe2a
LU-4124 build: make module installation directory flexible

Add --with-kmp-moddir option to configure.

Distributions vary in the installation directory for kernel modules.

The RHEL standard installation directory is
        /lib/modules/$(uname -r)/extra
while the SLES standard is
        /lib/modules/$(uname -r)/updates

Adding the option --with-kmp-moddir option to configure allows users
to select the appropriate installation target.  With this change, it
is neccessary to support both options in the test framework.

Signed-off-by: Stephen Champion <schamp@sgi.com>
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: http://review.whamcloud.com/8065
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Change-Id: Iec3137e0e5039dd43622c2e285030a5339fa6fd3
Reviewed-on: http://review.whamcloud.com/8315
Reviewed-by: Christopher J. Morrone <chris.morrone.llnl@gmail.com>
autoMakefile.am
config/lustre-build-linux.m4
lustre.spec.in
lustre/tests/test-framework.sh