aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-30 00:56:51 -0600
committerTom Rini <trini@konsulko.com>2022-05-02 09:58:13 -0400
commitd3eba95a7e9b6b89404a3ddb2945f03cff4effb4 (patch)
tree6cdfa6422eaa2ecd8954c82c62dba5865cd75e78 /Makefile
parent70bed2f6598a04d06fa6e6dfdeab3019f0c29c42 (diff)
downloadu-boot-d3eba95a7e9b6b89404a3ddb2945f03cff4effb4.zip
u-boot-d3eba95a7e9b6b89404a3ddb2945f03cff4effb4.tar.gz
u-boot-d3eba95a7e9b6b89404a3ddb2945f03cff4effb4.tar.bz2
Makefile: Tidy up the TPL build rules
These should follow the same pattern as SPL, for consistency. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9f220de..82c35a9 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