mips: dts: switch to board defines for dtb for mtmips
authorWeijie Gao <weijie.gao@mediatek.com>
Thu, 12 Nov 2020 08:35:17 +0000 (16:35 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 24 Jan 2021 20:39:26 +0000 (21:39 +0100)
commitda41a56059a114725684cc61c93f5f768d1ac734
treee3dbb89009a8099d395a9e4f3de2c74c784f33a2
parent69d29fe1c0aeb33f42633a75555d30b7921c02aa
mips: dts: switch to board defines for dtb for mtmips

Previous the dts files for gardena-smart-gateway-mt7688 and
linkit-smart-7688 are set to be built when mtmips is selected.

This can lead to a compilation error if another soc is added to this arch
with different dtsi files.

So it's better to build the dtb only if their board is selected.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/dts/Makefile