Fix build race on armv6* and powerpc*.
Tested with cross builds amd64 -> armv6(hf) and powerpc(64). Suggested by: andrew@
This commit is contained in:
parent
d30c6f8edf
commit
b9c2f094f2
@ -1,8 +1,11 @@
|
||||
# $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 opt_platform.h
|
||||
iicbb_if.h iicbb_if.c iicbb.c ${ofw_bus_if} opt_platform.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user