From: Simon Glass Date: Wed, 3 Feb 2021 13:01:03 +0000 (-0700) Subject: Makefile: Pass the U-Boot phase to dtoc X-Git-Tag: v2025.01-rc5-pxa1908~1941^2~4^2~94 X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=67c053341ff65e1fa6386f633492c7fc9d03fe18;p=u-boot.git 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 --- 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