aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-02-28 07:16:49 -0700
committerTom Rini <trini@konsulko.com>2022-04-18 10:20:56 -0400
commit13a95a9f103b122a1baefad9fd49d063f377018a (patch)
treedd2e5691ed495adb8157a5a4867ac3ca9dbbdb83
parent7d54cd91dcaeee5f2fda205bd31e5e5c37fcfecf (diff)
downloadu-boot-13a95a9f103b122a1baefad9fd49d063f377018a.zip
u-boot-13a95a9f103b122a1baefad9fd49d063f377018a.tar.gz
u-boot-13a95a9f103b122a1baefad9fd49d063f377018a.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>
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f2813b7..bd96696 100644
--- a/Makefile
+++ b/Makefile
@@ -2114,10 +2114,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