blob: 8a45a97f3d6254fbd95d125c88d01fdf18742a28 [file] [log] [blame]
Shad Ansari2f7f9be2017-06-07 13:34:53 -07001# PCIe transport
2# Consists of 2 components
3# - low-level PCIe driver (send/rx functions)
4# - multiplexer
5#
6MOD_NAME = trmux
7MOD_DEPS = transport model pcie pcie_mod ll_pcie fld pcie_sw_queue
8
9ifeq ("$(RELEASE_BUILD)", "y")
10 MOD_DEPS += common_api
11else
12 MOD_DEPS += api
13endif
14
15ifeq ("$(RAW_TRANSPORT_VIA_UDP)", "y")
16MOD_DEPS += trpcie
17endif
18
19ifeq ("$(OS_KERNEL)", "linux")
20MOD_TYPE = linux_lib
21else
22MOD_TYPE = lib
23endif
24
25# If called by linux kernel builder - add include paths manually.
26# It is not elegant, but we'll not have many linux modules
27ifneq ("$(KBUILD_SRC)", "")
28 -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME)
29endif
30
31srcs = bcmolt_tr_mux.c
32
33USE_LINT = yes
34
35