opnsense-src/sys/modules/i2c/iicbb/Makefile
Andreas Tobler b9c2f094f2 Fix build race on armv6* and powerpc*.
Tested with cross builds amd64 -> armv6(hf) and powerpc(64).

Suggested by:	andrew@
2015-04-04 20:30:20 +00:00

11 lines
295 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/iicbus
.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "powerpc"
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>