Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-17705 ptlrpc: replace synchronize_rcu() with rcu_barrier()
[fs/lustre-release.git]
/
lnet
/
klnds
/
o2iblnd
/
Makefile.in
diff --git
a/lnet/klnds/o2iblnd/Makefile.in
b/lnet/klnds/o2iblnd/Makefile.in
index
52a194d
..
1b1f48b
100644
(file)
--- a/
lnet/klnds/o2iblnd/Makefile.in
+++ b/
lnet/klnds/o2iblnd/Makefile.in
@@
-1,6
+1,15
@@
+ifneq ($(BUILD_EXT_O2IB),)
+
MODULES := ko2iblnd
MODULES := ko2iblnd
+
+endif
+
ko2iblnd-objs := o2iblnd.o o2iblnd_cb.o o2iblnd_modparams.o
ko2iblnd-objs := o2iblnd.o o2iblnd_cb.o o2iblnd_modparams.o
-EXTRA_POST_CFLAGS := @O2IBCPPFLAGS@
+# Need to make sure that an external OFED source pool overrides
+# any in-kernel OFED sources
+NOSTDINC_FLAGS += @EXTRA_OFED_CONFIG@ @EXTRA_OFED_INCLUDE@
+# Identify this as the External driver build
+NOSTDINC_FLAGS += -DEXTERNAL_OFED_BUILD
@INCLUDE_RULES@
@INCLUDE_RULES@