blob: 24f149b7cddab4456c4101e9aee9c7b63b41e43f [file] [log] [blame]
# Device control driver
MOD_NAME = dev_ctrl
MOD_DEPS = trmux keep_alive fld ll_pcie debug_common
MOD_INC_DIRS = $(SRC_DIR)
ifeq ("$(RELEASE_BUILD)", "y")
MOD_INC_DIRS += host_driver/sw_version host_driver/sw_error host_driver/mh_utils
else
MOD_INC_DIRS += host/sw_version $(TOP_DIR)/common/sw_error $(TOP_DIR)/common/mh_utils
endif
ifeq ("$(OS_KERNEL)", "linux")
MOD_TYPE = linux_lib
else
MOD_TYPE = lib
endif
srcs = bcmolt_dev_ctrl.c bcmolt_debug_ctrl.c
# 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