From 7277eaaa56b5b705b2fa4c0c088241743754e1e8 Mon Sep 17 00:00:00 2001 From: jchandra Date: Thu, 20 Oct 2011 13:41:37 +0000 Subject: 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 --- share/mk/bsd.own.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'share/mk') diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index ee78619..3058970 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -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 -- cgit v1.1