blob: 6ab83b56efed855b04d63ba93c09d8e2085ea2f0 [file] [log] [blame]
Shad Ansari2f7f9be2017-06-07 13:34:53 -07001# Makefile for building host/host_api as linux library to be called from kernel modules
2#
3ifeq ("$(OS_KERNEL)", "linux")
4
5MOD_NAME = host_api_linux
6MOD_TYPE = linux_lib
7MOD_DEPS = common_gpon
8
9srcs = 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
13ifneq ("$(KBUILD_SRC)", "")
14 -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME)
15endif
16endif
17