X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Fklnds%2Fo2iblnd%2FMakefile.in;h=34b82fe4490e1b6fa86f4ca8de9a6c0780a3833a;hp=569c266a2d68c1e9591839548c35407b69adac03;hb=HEAD;hpb=f8ae3b549da3bd41b36d8c7719d4411fe7b900aa diff --git a/lnet/klnds/o2iblnd/Makefile.in b/lnet/klnds/o2iblnd/Makefile.in index 569c266..1b1f48b 100644 --- a/lnet/klnds/o2iblnd/Makefile.in +++ b/lnet/klnds/o2iblnd/Makefile.in @@ -1,8 +1,15 @@ +ifneq ($(BUILD_EXT_O2IB),) + MODULES := ko2iblnd + +endif + ko2iblnd-objs := o2iblnd.o o2iblnd_cb.o o2iblnd_modparams.o -# Need to make sure we use PRE, not POST here so that an external OFED -# source pool overrides any in-kernel OFED sources -EXTRA_PRE_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@