| Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # Makefile for building utilities as linux module |
| 2 | # | ||||
| 3 | ifeq ("$(OS_KERNEL)", "linux") | ||||
| 4 | |||||
| 5 | MOD_NAME = api_linux | ||||
| 6 | MOD_TYPE = linux_lib | ||||
| 7 | MOD_DEPS = utils_linux sysmodel | ||||
| 8 | srcs = bcmolt_msg.c | ||||
| 9 | |||||
| 10 | # If called by linux kernel builder - add include paths manually. | ||||
| 11 | # It is not elegant, but we'll not have many linux modules | ||||
| 12 | ifneq ("$(KBUILD_SRC)", "") | ||||
| 13 | -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) | ||||
| 14 | endif | ||||
| 15 | |||||
| 16 | endif | ||||