summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-03 06:01:03 -0700
committerSimon Glass <sjg@chromium.org>2021-03-22 19:23:27 +1300
commit67c053341ff65e1fa6386f633492c7fc9d03fe18 (patch)
tree15d7d87d6c922841b79d032615851489f3a29bdd /scripts
parentb00f0066e52413e0f8fd4a84681e6e27c4270c26 (diff)
downloadu-boot-67c053341ff65e1fa6386f633492c7fc9d03fe18.tar.gz
u-boot-67c053341ff65e1fa6386f633492c7fc9d03fe18.tar.xz
u-boot-67c053341ff65e1fa6386f633492c7fc9d03fe18.zip
Makefile: Pass the U-Boot phase to dtoc
Pass the U-Boot phase as a parameter so dtoc can use it. At present it is ether "spl" or "tpl". Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 1fd63efdfd..bfae9a4fca 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -311,7 +311,7 @@ $(obj)/$(SPL_BIN).dtb: $(obj)/dts/dt-$(SPL_NAME).dtb FORCE
pythonpath = PYTHONPATH=scripts/dtc/pylibfdt
DTOC_ARGS := $(pythonpath) $(srctree)/tools/dtoc/dtoc \
- -d $(obj)/$(SPL_BIN).dtb
+ -d $(obj)/$(SPL_BIN).dtb -p $(SPL_NAME)
quiet_cmd_dtoc = DTOC $@
cmd_dtoc = $(DTOC_ARGS) -c $(obj)/dts -C include/generated all