Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # Common keep_alive |
2 | # | ||||
3 | MOD_NAME = keep_alive | ||||
4 | |||||
5 | ifeq ("$(OS_KERNEL)", "linux") | ||||
6 | MOD_TYPE = linux_lib | ||||
7 | else | ||||
8 | MOD_TYPE = lib | ||||
9 | endif | ||||
10 | |||||
11 | MOD_DEPS = model | ||||
12 | |||||
13 | srcs = bcm_keep_alive.c | ||||
14 | |||||
15 | # If called by linux kernel builder - add include paths manually. | ||||
16 | # It is not elegant, but we'll not have many linux modules | ||||
17 | ifneq ("$(KBUILD_SRC)", "") | ||||
18 | -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) | ||||
19 | endif | ||||
20 | USE_LINT = yes |