svn commit: r226564 - head/share/mk
Jayachandran C.
jchandra at FreeBSD.org
Thu Oct 20 13:41:37 UTC 2011
Author: jchandra
Date: Thu Oct 20 13:41:37 2011
New Revision: 226564
URL: http://svn.freebsd.org/changeset/base/226564
Log:
Build 'dtc' by default for MIPS.
The device tree compiler is needed during the kernel build to compile
DTS files to DTB.
Reviewed by: stas
Modified:
head/share/mk/bsd.own.mk
Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk Thu Oct 20 09:57:27 2011 (r226563)
+++ head/share/mk/bsd.own.mk Thu Oct 20 13:41:37 2011 (r226564)
@@ -434,8 +434,9 @@ __DEFAULT_YES_OPTIONS+=CLANG
.else
__DEFAULT_NO_OPTIONS+=CLANG
.endif
-# FDT is needed only for arm and powerpc (and not powerpc64)
-.if ${__T} == "arm" || ${__T} == "armeb" || ${__T} == "powerpc"
+# FDT is needed only for arm, mips and powerpc (and not powerpc64)
+.if ${__T} == "arm" || ${__T} == "armeb" || ${__T} == "powerpc" || \
+ ${__T:Mmips*}
__DEFAULT_YES_OPTIONS+=FDT
.else
__DEFAULT_NO_OPTIONS+=FDT
More information about the svn-src-all
mailing list