Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # device_control Linux wrapper |
| 2 | |
| 3 | ifeq ("$(OS_KERNEL)", "linux") |
| 4 | |
| 5 | MOD_NAME = bcm_dev_ctrl_linux |
| 6 | MOD_TYPE = linux_module |
| 7 | MOD_DEPS = dev_ctrl nltr dev_log_kernel user_config host_api_linux api_linux pcie pcie_mod |
| 8 | |
| 9 | srcs = bcmolt_dev_ctrl_linux.c |
| 10 | |
| 11 | # If called by linux kernel builder - add include paths manually. |
| 12 | # It is not elegant, but we'll not have many linux modules |
| 13 | ifneq ("$(KBUILD_SRC)", "") |
| 14 | -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) |
| 15 | endif |
| 16 | endif |
| 17 | |