193d9e768b
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
14 lines
401 B
Makefile
14 lines
401 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/iicbus
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
|
|
${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc" || \
|
|
${MACHINE_CPUARCH} == "riscv"
|
|
ofw_bus_if= ofw_bus_if.h
|
|
.endif
|
|
KMOD = iicbb
|
|
SRCS = device_if.h bus_if.h iicbus_if.h \
|
|
iicbb_if.h iicbb_if.c iicbb.c ${ofw_bus_if} opt_platform.h
|
|
|
|
.include <bsd.kmod.mk>
|