X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Fklnds%2Fo2iblnd%2FMakefile.in;h=34b82fe4490e1b6fa86f4ca8de9a6c0780a3833a;hp=52a194d19dc611e70d89873358ab0bfe0576f393;hb=HEAD;hpb=ed88907a96ba81d3558e71ade9def98bdc785169 diff --git a/lnet/klnds/o2iblnd/Makefile.in b/lnet/klnds/o2iblnd/Makefile.in index 52a194d..1b1f48b 100644 --- a/lnet/klnds/o2iblnd/Makefile.in +++ b/lnet/klnds/o2iblnd/Makefile.in @@ -1,6 +1,15 @@ +ifneq ($(BUILD_EXT_O2IB),) + MODULES := ko2iblnd + +endif + 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@