summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.spl
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-22 19:30:14 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:24:40 -0700
commitde3e372abdb553ff3a79f12830bb90252059f662 (patch)
tree0abd24152a1fbc35824f23dfefa010dc1b82ad4c /scripts/Makefile.spl
parent53db2eec7aa60b07f11c9d46f12041b571319dbc (diff)
downloadu-boot-de3e372abdb553ff3a79f12830bb90252059f662.tar.gz
u-boot-de3e372abdb553ff3a79f12830bb90252059f662.tar.xz
u-boot-de3e372abdb553ff3a79f12830bb90252059f662.zip
Makefile: Build SPL dtbs in the spl/ directory
Rather than putting these in the top-level dts/ directory (which is intended for U-Boot proper), put them in the correct subdirectory for SPL (either spl/ or tpl/). This is where other SPL targets are kept, so this is more consistent. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/Makefile.spl')
-rw-r--r--scripts/Makefile.spl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 8ebe6a9840..e83e93e5fc 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -300,7 +300,7 @@ $(obj)/$(SPL_BIN)-pad.bin: $(obj)/$(SPL_BIN)
@bss_size_str=$(shell $(NM) $< | awk 'BEGIN {size = 0} /__bss_size/ {size = $$1} END {print "ibase=16; " toupper(size)}' | bc); \
dd if=/dev/zero of=$@ bs=1 count=$${bss_size_str} 2>/dev/null;
-$(obj)/$(SPL_BIN).dtb: dts/dt-$(SPL_NAME).dtb FORCE
+$(obj)/$(SPL_BIN).dtb: $(obj)/dts/dt-$(SPL_NAME).dtb FORCE
$(call if_changed,copy)
pythonpath = PYTHONPATH=scripts/dtc/pylibfdt