summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cb0220d)
Remove the SUBDIRS target from configure tests.
Since Linux kernel version 2.6.x we can use target M.
Test-Parameters: trivial clientdistro=ubuntu2004
Test-Parameters: trivial clientdistro=el8.5
Change-Id: I8e59bdaf2d0e4e08a659e08f63a14472fba72eb2
Signed-off-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-on: https://review.whamcloud.com/47604
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
AC_CACHE_CHECK([for external module build target], lb_cv_module_target,
[
lb_cv_module_target=""
AC_CACHE_CHECK([for external module build target], lb_cv_module_target,
[
lb_cv_module_target=""
- MODULE_TARGET="SUBDIRS"
- LB_LINUX_TRY_MAKE([], [],
- [$makerule LUSTRE_KERNEL_TEST=conftest.i],
- [test -s build/conftest.i],
- [lb_cv_module_target="SUBDIRS"],[
LB_LINUX_TRY_MAKE([], [],
[$makerule LUSTRE_KERNEL_TEST=conftest.i],
[test -s build/conftest.i],
LB_LINUX_TRY_MAKE([], [],
[$makerule LUSTRE_KERNEL_TEST=conftest.i],
[test -s build/conftest.i],
[test -s build/conftest.i],
[lb_cv_module_target="M58"], [
AC_MSG_ERROR([kernel module make failed; check config.log for details])
[test -s build/conftest.i],
[lb_cv_module_target="M58"], [
AC_MSG_ERROR([kernel module make failed; check config.log for details])
])
AS_IF([test -z "$lb_cv_module_target"],
[AC_MSG_ERROR([unknown external module build target])],
])
AS_IF([test -z "$lb_cv_module_target"],
[AC_MSG_ERROR([unknown external module build target])],