summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2020-05-04 14:38:30 +0200
committerTom Rini <trini@konsulko.com>2020-05-14 11:36:15 -0400
commit5d3534de605bd6fd1638b215e5dbd1f9539d7062 (patch)
treeab63cc4fb62828e8dae4a0ba4ae371089525cf46
parente2b86e23cebc9dfaca2e7b7e53b10fa27d09f4e9 (diff)
downloadu-boot-5d3534de605bd6fd1638b215e5dbd1f9539d7062.tar.gz
u-boot-5d3534de605bd6fd1638b215e5dbd1f9539d7062.tar.bz2
u-boot-5d3534de605bd6fd1638b215e5dbd1f9539d7062.zip
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 <jjhiblot@ti.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
-rw-r--r--scripts/Makefile.spl2
1 files changed, 1 insertions, 1 deletions
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 \