Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw> --- v2 add list support as Simon suggested. arch/nios2/dts/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/nios2/dts/Makefile b/arch/nios2/dts/Makefile index f22fabf..eaeb26f 100644 --- a/arch/nios2/dts/Makefile +++ b/arch/nios2/dts/Makefile @@ -2,7 +2,8 @@ # SPDX-License-Identifier: GPL-2.0+ # -dtb-y += $(CONFIG_DEFAULT_DEVICE_TREE:"%"=%).dtb +DEVICE_TREE_LIST ?= $(subst $\",,$(CONFIG_DEFAULT_DEVICE_TREE)) +dtb-y += $(DEVICE_TREE_LIST:=.dtb) targets += $(dtb-y) -- 2.5.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot