Whamcloud - gitweb
LU-12511 build: don't use OpenSFS UAPI headers with --disable-modules 70/38370/2
authorJames Simmons <jsimmons@infradead.org>
Sun, 26 Apr 2020 17:33:31 +0000 (13:33 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 14 May 2020 05:38:50 +0000 (05:38 +0000)
commit24f825e2934a40811c651e8943f843a80b70f97d
tree0b5f68306d6be19c4a925bce6b8fd0bd2ce9bc68
parent84a70d296c68cea9da9dc5502022121798fe5cd7
LU-12511 build: don't use OpenSFS UAPI headers with --disable-modules

If we configure Lustre with --disable-modules that means we want
to use the native Linux Lustre / LNet UAPI headers instead. To do
this only include OpenSFS UAPI header path when Lustre modules are
enabled.

Change-Id: Id0f4d960d51bf02a6e24d2e3ad2544df10384533
Test-Parameters: trivial
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/38370
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build.m4
lustre/utils/obd.c