Author: andreast
Date: Sat Apr 4 20:30:20 2015
New Revision: 281083
URL: https://svnweb.freebsd.org/changeset/base/281083
Log:
Fix build race on armv6* and powerpc*.
Tested with cross builds amd64 -> armv6(hf) and powerpc(64).
Suggested by: andrew@
Modified:
head/sys/modules/i2c/iicbb/Makefile
Modified: head/sys/modules/i2c/iicbb/Makefile
==============================================================================
--- head/sys/modules/i2c/iicbb/Makefile Sat Apr 4 20:22:12 2015
(r281082)
+++ head/sys/modules/i2c/iicbb/Makefile Sat Apr 4 20:30:20 2015
(r281083)
@@ -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>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"