# SPDX-License-Identifier: GPL-2.0

#
# This file is part of Lustre, http://www.lustre.org/
#

ifneq ($(BUILD_EXT_O2IB),)

MODULES := ko2iblnd

endif

ko2iblnd-objs := o2iblnd.o o2iblnd_cb.o o2iblnd_modparams.o

# Need to make sure that an external OFED source pool overrides
# any in-kernel OFED sources
NOSTDINC_FLAGS +=   -I/include -I/include/uapi
# Identify this as the External driver build
NOSTDINC_FLAGS += -DEXTERNAL_OFED_BUILD -DEXTERNAL_OFED_VERSION='"None"'

include /home/green/git/lustre-release/Rules
