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
This commit is contained in:
jchandra 2011-10-20 13:41:37 +00:00
parent 4923bceccd
commit 7277eaaa56

View File

@ -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