opnsense-src/sys/modules/i2c/controllers/Makefile
Thomas Skibo 99443830fa iicoc: support building as a module
Only build on RISC-V for now, since we're not aware of any other cores
with this IP supported by FreeBSD.

Reviewed by:	jrtc27, philip
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D32737
2021-11-01 12:33:39 +08:00

12 lines
254 B
Makefile

# $FreeBSD$
SUBDIR = alpm amdpm amdsmb ichiic ichsmb intpm ismt nfsmb viapm lpbb pcf
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
SUBDIR += imcsmb
.endif
.if ${MACHINE_CPUARCH} == "riscv"
SUBDIR += iicoc
.endif
.include <bsd.subdir.mk>