| # PCIE driver | |
| # host specific | |
| # | |
| MOD_NAME = pcie_mod | |
| MOD_DEPS = pcie | |
| MOD_SUPPRESS_OS_DEP = y | |
| ifeq ("$(OS_KERNEL)", "linux") | |
| MOD_TYPE = linux_lib | |
| srcs = bcmolt_tr_pcie_specific.c | |
| 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 | |
| USE_LINT = yes | |