diff options
author | Roger Quadros <rogerq@kernel.org> | 2022-02-02 13:21:56 +0200 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2022-02-02 16:22:02 -0600 |
commit | eadf5af36c6e0097a162f81308b64cc0b796b6b5 (patch) | |
tree | 907387b0ea0a8e1d31bc74c462d981d0c9820d0c /Makefile | |
parent | 7650825383584f3a8b331444db44ee1dfb1c5216 (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-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) \ |