Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # Makefile for building host/host_api as linux library to be called from kernel modules |
| 2 | # |
| 3 | ifeq ("$(OS_KERNEL)", "linux") |
| 4 | |
| 5 | MOD_NAME = host_api_linux |
| 6 | MOD_TYPE = linux_lib |
| 7 | MOD_DEPS = common_gpon |
| 8 | |
| 9 | srcs = bcmolt_host_api.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 | |