22ca8619b1
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the dependencies in files.i2c and switch device drivers to depend on "i2cexec" module instead. A kernel with a USB stack and no I2C controller / bus attachment would spit out a bunch of "WARNING: module error: can't find builtin dependency `iic'" messages at boot. This change solves that problem.
11 lines
169 B
Makefile
11 lines
169 B
Makefile
# $NetBSD: Makefile,v 1.1 2015/03/07 14:16:51 jmcneill Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${S}/dev/i2c
|
|
|
|
KMOD= i2cexec
|
|
SRCS= i2c_exec.c
|
|
|
|
.include <bsd.kmodule.mk>
|