Whamcloud - gitweb
LU-16819 build: use mofed path based on target kernel 17/55117/4
authorAke Sandgren <ake.sandgren@hpc2n.umu.se>
Wed, 15 May 2024 05:09:13 +0000 (22:09 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 May 2024 18:20:15 +0000 (18:20 +0000)
commit8f0f7a44341ec15412eb9463c769dabf7674da16
tree6e96a29f0735afb912f3ea9cc45f9f63ed5fd337
parent92c75b7e9fc0616fa660fce3a69f823524297d1c
LU-16819 build: use mofed path based on target kernel

Instead of using "uname -r", which limits builds to the currently
running kernel, use the target kernel which is available in
LINUXRELEASE, if the directory is available.
Building for a specific kernel is common practice when using DKMS.

Lustre-change: https://review.whamcloud.com/50937
Lustre-commit: 0e9708016b9948676484d290326c1fe8a269eb80
Test-Parameters: trivial
Signed-off-by: Ake Sandgren <ake.sandgren@hpc2n.umu.se>
Change-Id: Ifce912061a74fc5b7435cd940105190f0c3cd544
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55117
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/autoconf/lustre-lnet.m4