Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # PCIe transport |
| 2 | # Consists of 2 components |
| 3 | # - low-level PCIe driver (send/rx functions) |
| 4 | # - multiplexer |
| 5 | # |
| 6 | MOD_NAME = trmux |
| 7 | MOD_DEPS = transport model pcie pcie_mod ll_pcie fld pcie_sw_queue |
| 8 | |
| 9 | ifeq ("$(RELEASE_BUILD)", "y") |
| 10 | MOD_DEPS += common_api |
| 11 | else |
| 12 | MOD_DEPS += api |
| 13 | endif |
| 14 | |
| 15 | ifeq ("$(RAW_TRANSPORT_VIA_UDP)", "y") |
| 16 | MOD_DEPS += trpcie |
| 17 | endif |
| 18 | |
| 19 | ifeq ("$(OS_KERNEL)", "linux") |
| 20 | MOD_TYPE = linux_lib |
| 21 | else |
| 22 | MOD_TYPE = lib |
| 23 | endif |
| 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 |
| 27 | ifneq ("$(KBUILD_SRC)", "") |
| 28 | -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) |
| 29 | endif |
| 30 | |
| 31 | srcs = bcmolt_tr_mux.c |
| 32 | |
| 33 | USE_LINT = yes |
| 34 | |
| 35 | |