Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # Device control driver |
| 2 | MOD_NAME = dev_ctrl |
| 3 | MOD_DEPS = trmux keep_alive fld ll_pcie debug_common |
| 4 | MOD_INC_DIRS = $(SRC_DIR) |
| 5 | |
| 6 | ifeq ("$(RELEASE_BUILD)", "y") |
| 7 | MOD_INC_DIRS += host_driver/sw_version host_driver/sw_error host_driver/mh_utils |
| 8 | else |
| 9 | MOD_INC_DIRS += host/sw_version $(TOP_DIR)/common/sw_error $(TOP_DIR)/common/mh_utils |
| 10 | endif |
| 11 | |
| 12 | ifeq ("$(OS_KERNEL)", "linux") |
| 13 | MOD_TYPE = linux_lib |
| 14 | else |
| 15 | MOD_TYPE = lib |
| 16 | endif |
| 17 | |
| 18 | srcs = bcmolt_dev_ctrl.c bcmolt_debug_ctrl.c |
| 19 | |
| 20 | # If called by linux kernel builder - add include paths manually. |
| 21 | # It is not elegant, but we'll not have many linux modules |
| 22 | ifneq ("$(KBUILD_SRC)", "") |
| 23 | -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) |
| 24 | endif |