summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@kernel.org>2022-02-02 13:21:56 +0200
committerPraneeth Bajjuri <praneeth@ti.com>2022-02-02 16:22:02 -0600
commiteadf5af36c6e0097a162f81308b64cc0b796b6b5 (patch)
tree907387b0ea0a8e1d31bc74c462d981d0c9820d0c /Makefile
parent7650825383584f3a8b331444db44ee1dfb1c5216 (diff)
HACK: Makefile: Use $ATF and $TEE arguments to override $BL31 and $BL32
Upstream uses $BL31 for ATF blob and will use $BL32 for OP-TEE OS blob. Since our Yocto build scripts and most of the developer build scripts pass $ATF and $TEE, we continue to support those if provided. Their usage should be deprecated. We can then drop this patch once migration to $BL31 and $BL32 is done. Signed-off-by: Roger Quadros <rogerq@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 221166414a..5a9909e979 100644
--- a/Makefile
+++ b/Makefile
@@ -1326,6 +1326,12 @@ u-boot.ldr: u-boot
# binman
# ---------------------------------------------------------------------------
# Use 'make BINMAN_DEBUG=1' to enable debugging
+ifneq ($(ATF),)
+BL31 = $(ATF)
+endif
+ifneq ($(TEE),)
+BL32 = $(TEE)
+endif
default_dt := $(if $(DEVICE_TREE),$(DEVICE_TREE),$(CONFIG_DEFAULT_DEVICE_TREE))
quiet_cmd_binman = BINMAN $@
cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \