mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
scripts/Makefile.spl: Use 'sort' in SHRUNK_ARCH_DTB rule
With configs such as "am64x_evm_a53" or "imx8mp_venice" which list multiple device trees to build we get a warning such as: scripts/Makefile.spl:578: target 'spl/dts/freescale/' given more than once in the same rule If we sort this list first the warning goes away. Tested-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
278c644cfa
commit
e8ff287595
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ endif
|
|||
|
||||
SPL_OF_LIST_TARGETS = $(patsubst %,dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST)))
|
||||
SHRUNK_ARCH_DTB = $(addprefix $(obj)/,$(SPL_OF_LIST_TARGETS))
|
||||
$(dir $(SHRUNK_ARCH_DTB)):
|
||||
$(sort $(dir $(SHRUNK_ARCH_DTB))):
|
||||
$(shell [ -d $@ ] || mkdir -p $@)
|
||||
|
||||
.SECONDEXPANSION:
|
||||
|
|
Loading…
Add table
Reference in a new issue