From: Simon Glass Date: Sat, 30 Apr 2022 06:56:51 +0000 (-0600) Subject: Makefile: Tidy up the TPL build rules X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d3eba95a7e9b6b89404a3ddb2945f03cff4effb4;p=u-boot.git Makefile: Tidy up the TPL build rules These should follow the same pattern as SPL, for consistency. Fix them. Signed-off-by: Simon Glass --- diff --git a/Makefile b/Makefile index 9f220de320..82c35a94ae 100644 --- a/Makefile +++ b/Makefile @@ -2110,10 +2110,13 @@ spl/u-boot-spl.sfp: spl/u-boot-spl spl/boot.bin: spl/u-boot-spl @: -tpl/u-boot-tpl.bin: tools prepare $(if $(CONFIG_TPL_OF_CONTROL),dts/dt.dtb) - $(Q)$(MAKE) obj=tpl -f $(srctree)/scripts/Makefile.spl all +tpl/u-boot-tpl.bin: tpl/u-boot-tpl + @: $(TPL_SIZE_CHECK) +tpl/u-boot-tpl: tools prepare $(if $(CONFIG_TPL_OF_CONTROL),dts/dt.dtb) + $(Q)$(MAKE) obj=tpl -f $(srctree)/scripts/Makefile.spl all + TAG_SUBDIRS := $(patsubst %,$(srctree)/%,$(u-boot-dirs) include) FIND := find