Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # I2C devices driver |
2 | # | ||||
3 | ifeq ("$(OS_KERNEL)", "linux") | ||||
4 | |||||
5 | MOD_NAME = i2c_devs | ||||
6 | MOD_TYPE = linux_module | ||||
7 | |||||
8 | srcs = bcmolt_i2c_devs.c | ||||
9 | |||||
10 | # If called by linux kernel builder - add include paths manually. | ||||
11 | # It is not elegant, but we'll not have many linux modules | ||||
12 | ifneq ("$(KBUILD_SRC)", "") | ||||
13 | -include $(OUT_DIR_BASE)/Makefile.config.$(MOD_NAME) | ||||
14 | endif | ||||
15 | |||||
16 | endif | ||||
17 | |||||
18 | USE_LINT = yes | ||||
19 |