]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
kbuild: spl: Fix parallel build
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 4 May 2020 12:38:30 +0000 (14:38 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 May 2020 15:36:15 +0000 (11:36 -0400)
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@ti.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
scripts/Makefile.spl

index 6741ef911ec956417c7e0ca9a4091c44a76d029b..63ce5caf239c971c154375db91890b5e830a2743 100644 (file)
@@ -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 \