Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # dev_log - kernel support |
| 2 | # |
| 3 | ifeq ("$(OS_KERNEL)", "linux") |
| 4 | |
| 5 | MOD_NAME = dev_log_kernel |
| 6 | MOD_TYPE = linux_lib |
| 7 | |
| 8 | ifeq ("$(ENABLE_LOG)", "y") |
| 9 | |
| 10 | MOD_DEFS = -DENABLE_LOG |
| 11 | |
| 12 | srcs = bcm_dev_log.c bcm_dev_log_task.c bcmolt_dev_log_kernel.c |
| 13 | |
| 14 | # If called by linux kernel builder - add include paths manually. |
| 15 | # It is not elegant, but we'll not have many linux modules |
| 16 | ifneq ("$(KBUILD_SRC)", "") |
| 17 | -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) |
| 18 | endif |
| 19 | |
| 20 | # ifeq ("$(ENABLE_LOG)", "y") |
| 21 | endif |
| 22 | |
| 23 | # ifeq ("$(OS_KERNEL)", "linux") |
| 24 | endif |