Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that there is no need to list all the dtb for different targets/boards.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw> --- arch/sandbox/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/dts/Makefile b/arch/sandbox/dts/Makefile index 0197569..4969969 100644 --- a/arch/sandbox/dts/Makefile +++ b/arch/sandbox/dts/Makefile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: GPL-2.0+ # -dtb-$(CONFIG_SANDBOX) += sandbox.dtb +dtb-y += $(CONFIG_DEFAULT_DEVICE_TREE:"%"=%).dtb dtb-$(CONFIG_UT_DM) += test.dtb targets += $(dtb-y) -- 2.5.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot