| 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 = utils_linux | ||||
| 6 | MOD_TYPE = linux_lib | ||||
| 7 | srcs = bcmolt_buf.c | ||||
| 8 | |||||
| 9 | # If called by linux kernel builder - add include paths manually. | ||||
| 10 | # It is not elegant, but we'll not have many linux modules | ||||
| 11 | ifneq ("$(KBUILD_SRC)", "") | ||||
| 12 | -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) | ||||
| 13 | endif | ||||
| 14 | |||||
| 15 | endif | ||||