From: Jan Kiszka Date: Mon, 4 May 2020 12:38:30 +0000 (+0200) Subject: kbuild: spl: Fix parallel build X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5d3534de605bd6fd1638b215e5dbd1f9539d7062;p=u-boot.git kbuild: spl: Fix parallel build 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 Signed-off-by: Jan Kiszka --- 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 \