blob: 8a45a97f3d6254fbd95d125c88d01fdf18742a28 [file] [log] [blame]
# PCIe transport
# Consists of 2 components
# - low-level PCIe driver (send/rx functions)
# - multiplexer
#
MOD_NAME = trmux
MOD_DEPS = transport model pcie pcie_mod ll_pcie fld pcie_sw_queue
ifeq ("$(RELEASE_BUILD)", "y")
MOD_DEPS += common_api
else
MOD_DEPS += api
endif
ifeq ("$(RAW_TRANSPORT_VIA_UDP)", "y")
MOD_DEPS += trpcie
endif
ifeq ("$(OS_KERNEL)", "linux")
MOD_TYPE = linux_lib
else
MOD_TYPE = lib
endif
# If called by linux kernel builder - add include paths manually.
# It is not elegant, but we'll not have many linux modules
ifneq ("$(KBUILD_SRC)", "")
-include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME)
endif
srcs = bcmolt_tr_mux.c
USE_LINT = yes