diff options
author | jchandra <jchandra@FreeBSD.org> | 2011-10-20 13:41:37 +0000 |
---|---|---|
committer | jchandra <jchandra@FreeBSD.org> | 2011-10-20 13:41:37 +0000 |
commit | 7277eaaa56b5b705b2fa4c0c088241743754e1e8 (patch) | |
tree | 61cefea6cb20e189b3ff95abe57526d16479d8d2 /share | |
parent | 4923bceccd8b3a4c5276d50cba32e031dace2fc1 (diff) | |
download | FreeBSD-src-7277eaaa56b5b705b2fa4c0c088241743754e1e8.zip FreeBSD-src-7277eaaa56b5b705b2fa4c0c088241743754e1e8.tar.gz |
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
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.own.mk | 5 |
1 files changed, 3 insertions, 2 deletions
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 |