# Makefile for building utilities as linux module | |
# | |
ifeq ("$(OS_KERNEL)", "linux") | |
MOD_NAME = utils_linux | |
MOD_TYPE = linux_lib | |
srcs = bcmolt_buf.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 |