diff mbox series

[2/4] kbuild: spl: Fix parallel build

Message ID 65f5ca0f701106950ae5634632b8648577f6e2d2.1588595912.git.jan.kiszka@web.de
State New
Headers show
Series Various build dependency fixes | expand

Commit Message

Jan Kiszka May 4, 2020, 12:38 p.m. UTC
From: Jan Kiszka <jan.kiszka at siemens.com>

The dts dir must exists when running this rule.

That missing dependency broke e.g. "make -j" for the am65x targets.

Fixes: 2f57c95100f2 ("spl: dm: Make it possible for the SPL to pick its own DTB from a FIT")
CC: Jean-Jacques Hiblot <jjhiblot at ti.com>
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
---
 scripts/Makefile.spl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.26.1

Comments

Tom Rini May 14, 2020, 5:15 p.m. UTC | #1
On Mon, May 04, 2020 at 02:38:30PM +0200, Jan Kiszka wrote:

> From: Jan Kiszka <jan.kiszka at siemens.com>
> 
> The dts dir must exists when running this rule.
> 
> That missing dependency broke e.g. "make -j" for the am65x targets.
> 
> Fixes: 2f57c95100f2 ("spl: dm: Make it possible for the SPL to pick its own DTB from a FIT")
> CC: Jean-Jacques Hiblot <jjhiblot at ti.com>
> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 6741ef911e..63ce5caf23 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -461,7 +461,7 @@  dtbs:

 SHRUNK_ARCH_DTB = $(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST)))
 .SECONDEXPANSION:
-$(SHRUNK_ARCH_DTB): $$(patsubst $(obj)/dts/%, arch/$(ARCH)/dts/%, $$@)
+$(SHRUNK_ARCH_DTB): $$(patsubst $(obj)/dts/%, arch/$(ARCH)/dts/%, $$@) dts_dir
 	$(call if_changed,fdtgrep)

 MKIMAGEFLAGS_$(SPL_BIN).multidtb.fit = -f auto -A $(ARCH) -T firmware -C none -O u-boot \