# Makefile for building utilities as linux module | |
# | |
ifeq ("$(OS_KERNEL)", "linux") | |
MOD_NAME = api_linux | |
MOD_TYPE = linux_lib | |
MOD_DEPS = utils_linux sysmodel | |
srcs = bcmolt_msg.c | |
# If called by linux kernel builder - add include paths manually. | |
# It is not elegant, but we'll not have many linux modules | |
ifneq ("$(KBUILD_SRC)", "") | |
-include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) | |
endif | |
endif |